From c9aefa81ca1950121d2357fc66afe15eb400f537 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Fri, 15 Mar 2024 00:13:40 +0000
Subject: Fix eslint errors

---
 components/loader/LoaderFileSystemModal.vue | 29 ++++++++++++++++++++---------
 1 file changed, 20 insertions(+), 9 deletions(-)

(limited to 'components/loader/LoaderFileSystemModal.vue')

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>
-- 
cgit v1.2.3-70-g09d2

