From 09349620d1eccd27c0e526079a08aadbc3599b3f Mon Sep 17 00:00:00 2001 From: escapee Date: Thu, 11 Apr 2024 09:55:35 -0700 Subject: [PATCH 1/2] Update save bank to account for new location --- src/components/saves/SavesManager.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/saves/SavesManager.vue b/src/components/saves/SavesManager.vue index 4edb2e0..8eed223 100644 --- a/src/components/saves/SavesManager.vue +++ b/src/components/saves/SavesManager.vue @@ -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( Object.keys(bankContext).reduce((acc: Array<{ label: string; value: string }>, curr) => { acc.push({ From f38c64f36adcbfe09a9fa22e0c9b25dc2096575c Mon Sep 17 00:00:00 2001 From: escapee Date: Thu, 11 Apr 2024 10:16:37 -0700 Subject: [PATCH 2/2] Handle computed hotkey descriptions --- src/features/hotkey.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/hotkey.tsx b/src/features/hotkey.tsx index eedbe4f..e21d2b3 100644 --- a/src/features/hotkey.tsx +++ b/src/features/hotkey.tsx @@ -142,7 +142,7 @@ registerInfoComponent(
{keys.map(hotkey => (
- {hotkey?.description} + {unref(hotkey?.description)}
))}