From 8c79cb27b2249764262b9da5a0b4d9be27ba4389 Mon Sep 17 00:00:00 2001 From: Matteias Collet Date: Sun, 28 Jun 2020 01:50:25 +0200 Subject: [PATCH] restore route deletion --- docs/.vuepress/components/Generator.vue | 7 +- .../components/GroupSelectComponent.vue | 15 ++- docs/.vuepress/components/StageLoader.vue | 123 +++++++++++++++--- 3 files changed, 123 insertions(+), 22 deletions(-) diff --git a/docs/.vuepress/components/Generator.vue b/docs/.vuepress/components/Generator.vue index 953e9df..d86bf64 100644 --- a/docs/.vuepress/components/Generator.vue +++ b/docs/.vuepress/components/Generator.vue @@ -36,7 +36,7 @@

Stage Loader

- +
@@ -153,10 +153,12 @@ export default { isLoading: true, codes: [], selectedCheats: [], + selectedStageLoader: null, inspectingCode: null, selectedVersion: null, selectedFormat: null, useStageLoader: false, + stageLoaderCodes: [], useStageLoaderOptions: [ { value: false, label: "No" }, { value: true, label: "Yes" } @@ -169,6 +171,9 @@ export default { this.selectedCheats = []; const storedCodes = JSON.parse(localStorage.getItem("codes")); this.codes = storedCodes.find(c => c.identifier === e).cheats; + this.stageLoaderCodes = storedCodes.find( + c => c.identifier === e + ).fastCodes; this.inspectingCode = null; }, onFormatChanged(e) { diff --git a/docs/.vuepress/components/GroupSelectComponent.vue b/docs/.vuepress/components/GroupSelectComponent.vue index 0cf3f30..bd3f534 100644 --- a/docs/.vuepress/components/GroupSelectComponent.vue +++ b/docs/.vuepress/components/GroupSelectComponent.vue @@ -1,7 +1,7 @@