diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-15 00:13:40 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-15 00:13:40 +0000 |
| commit | c9aefa81ca1950121d2357fc66afe15eb400f537 (patch) | |
| tree | fd6196b55626cea8101cd5a4a00cb2a00d8a495b /components/loader/LoaderFileSystemModal.vue | |
| parent | 1dd5d0fa8bb2ae794b263d1629a662166a9b9d08 (diff) | |
Fix eslint errors
Diffstat (limited to 'components/loader/LoaderFileSystemModal.vue')
| -rw-r--r-- | components/loader/LoaderFileSystemModal.vue | 29 |
1 files changed, 20 insertions, 9 deletions
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, +}); </script> <template> @@ -50,7 +50,10 @@ defineExpose({ </div> <div v-if="status === 'loaded'"> - <p>Parsing files in directory <code>{{ path }}</code>...</p> + <p> + Parsing files in directory <code>{{ path }}</code + >... + </p> </div> <div v-if="status === 'invalid'"> @@ -58,7 +61,10 @@ defineExpose({ </div> <div v-if="status === 'valid'"> - <p>Successfully parsed directory <code>{{ path }}</code>.</p> + <p> + Successfully parsed directory <code>{{ path }}</code + >. + </p> <ul> <li>{{ categoriesCount }} categories loaded</li> <li>{{ questsCount }} quests loaded</li> @@ -69,8 +75,13 @@ defineExpose({ <div id="controls" class="control-group"> <Button :icon="['fas', 'xmark']" :label="'Cancel'" @click="showModal = false"></Button> - <Button v-if="status === 'valid'" type="solid" :icon="['fas', 'check']" :label="'Confirm'" - @click="confirm"></Button> + <Button + v-if="status === 'valid'" + type="solid" + :icon="['fas', 'check']" + :label="'Confirm'" + @click="confirm" + ></Button> </div> </Modal> </template> @@ -81,4 +92,4 @@ defineExpose({ justify-content: flex-end; margin-top: 1rem; } -</style>
\ No newline at end of file +</style> |
