Compare commits

...

2 commits
main ... main

Author SHA1 Message Date
escapee
f38c64f36a Handle computed hotkey descriptions 2024-04-11 10:16:37 -07:00
escapee
09349620d1 Update save bank to account for new location 2024-04-11 09:55:35 -07:00
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ watch(saveToImport, importedSave => {
} }
}); });
let bankContext = import.meta.globEager("./../../saves/*.txt", { as: "raw" }); let bankContext = import.meta.globEager("./../../../saves/*.txt", { as: "raw" });
let bank = ref( let bank = ref(
Object.keys(bankContext).reduce((acc: Array<{ label: string; value: string }>, curr) => { Object.keys(bankContext).reduce((acc: Array<{ label: string; value: string }>, curr) => {
acc.push({ acc.push({

View file

@ -142,7 +142,7 @@ registerInfoComponent(
<div style="column-count: 2"> <div style="column-count: 2">
{keys.map(hotkey => ( {keys.map(hotkey => (
<div> <div>
<Hotkey hotkey={hotkey as GenericHotkey} /> {hotkey?.description} <Hotkey hotkey={hotkey as GenericHotkey} /> {unref(hotkey?.description)}
</div> </div>
))} ))}
</div> </div>