From c9aefa81ca1950121d2357fc66afe15eb400f537 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Fri, 15 Mar 2024 00:13:40 +0000 Subject: Fix eslint errors --- components/loader/LoaderDiscardSessionModal.vue | 24 +++++++++++++------- components/loader/LoaderFileSystemButton.vue | 13 +++++++---- components/loader/LoaderFileSystemModal.vue | 29 +++++++++++++++++-------- components/loader/LoaderImportButton.vue | 16 +++++++++----- components/loader/LoaderNetworkButton.vue | 5 ++--- components/loader/LoaderTestDataButton.vue | 4 ++-- components/loader/LoaderTestDataModal.vue | 16 ++++++++------ 7 files changed, 68 insertions(+), 39 deletions(-) (limited to 'components/loader') diff --git a/components/loader/LoaderDiscardSessionModal.vue b/components/loader/LoaderDiscardSessionModal.vue index 845b10a..6f5ed02 100644 --- a/components/loader/LoaderDiscardSessionModal.vue +++ b/components/loader/LoaderDiscardSessionModal.vue @@ -5,7 +5,7 @@ const showModal = ref(false); const open = () => { showModal.value = true; -} +}; const confirm = () => { session.setQuests([]); @@ -16,11 +16,11 @@ const confirm = () => { navigateToEditorPane(null); showModal.value = false; -} +}; defineExpose({ - open -}) + open, +}); -

You are about to discard your current session. All changes will be lost. - Do you want to continue?

+

+ You are about to discard your current session. All changes will be lost. Do you want to + continue? +

- +
@@ -45,4 +53,4 @@ defineExpose({ justify-content: flex-end; margin-top: 1rem; } - \ No newline at end of file + diff --git a/components/loader/LoaderFileSystemButton.vue b/components/loader/LoaderFileSystemButton.vue index 3a70860..58c470c 100644 --- a/components/loader/LoaderFileSystemButton.vue +++ b/components/loader/LoaderFileSystemButton.vue @@ -27,14 +27,19 @@ const openFileSystemPrompt = async () => { console.error(e); loaderStore.setFileSystemLoaderStatus('invalid'); } -} +}; \ No newline at end of file + diff --git a/components/loader/LoaderFileSystemModal.vue b/components/loader/LoaderFileSystemModal.vue index 25fcfa2..a3f133b 100644 --- a/components/loader/LoaderFileSystemModal.vue +++ b/components/loader/LoaderFileSystemModal.vue @@ -6,7 +6,7 @@ const showModal = ref(false); const open = () => { showModal.value = true; -} +}; const confirm = () => { const categories = loader.getCategories(); @@ -21,7 +21,7 @@ const confirm = () => { navigateToEditorPane(null); showModal.value = false; -} +}; const status = computed(() => loader.getFileSystemLoaderStatus()); const questsCount = computed(() => loader.getQuests().length); @@ -30,8 +30,8 @@ const itemsCount = computed(() => loader.getItems().length); const path = computed(() => loader.getPath()); defineExpose({ - open -}) + open, +}); @@ -81,4 +92,4 @@ defineExpose({ justify-content: flex-end; margin-top: 1rem; } - \ No newline at end of file + diff --git a/components/loader/LoaderImportButton.vue b/components/loader/LoaderImportButton.vue index ff6d0ad..d0c4107 100644 --- a/components/loader/LoaderImportButton.vue +++ b/components/loader/LoaderImportButton.vue @@ -1,14 +1,18 @@ \ No newline at end of file + @@ -52,4 +54,4 @@ defineExpose({ justify-content: flex-end; margin-top: 1rem; } - \ No newline at end of file + -- cgit v1.2.3-70-g09d2