Less confusing handling of local config

This commit is contained in:
Alicia Sykes
2024-04-16 16:50:06 +01:00
parent c456bd6bd6
commit 3c9e5bd369
8 changed files with 116 additions and 20 deletions

View File

@@ -56,6 +56,8 @@
<EditModeSaveMenu v-if="isEditMode" />
<!-- Modal for viewing and exporting configuration file -->
<ExportConfigMenu />
<!-- Shows pertinent info -->
<NotificationThing v-if="$store.state.isUsingLocalConfig"/>
</div>
</template>
@@ -66,6 +68,7 @@ import Section from '@/components/LinkItems/Section.vue';
import EditModeSaveMenu from '@/components/InteractiveEditor/EditModeSaveMenu.vue';
import ExportConfigMenu from '@/components/InteractiveEditor/ExportConfigMenu.vue';
import AddNewSection from '@/components/InteractiveEditor/AddNewSectionLauncher.vue';
import NotificationThing from '@/components/Settings/LocalConfigWarning.vue';
import StoreKeys from '@/utils/StoreMutations';
import { localStorageKeys, modalNames } from '@/utils/defaults';
import ErrorHandler from '@/utils/ErrorHandler';
@@ -79,6 +82,7 @@ export default {
EditModeSaveMenu,
ExportConfigMenu,
AddNewSection,
NotificationThing,
Section,
BackIcon,
},