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

---
 .../editor/quest/EditorQuestTasksOptionsPanel.vue  | 34 +++++++++++++++++-----
 1 file changed, 26 insertions(+), 8 deletions(-)

(limited to 'components/editor/quest/EditorQuestTasksOptionsPanel.vue')

diff --git a/components/editor/quest/EditorQuestTasksOptionsPanel.vue b/components/editor/quest/EditorQuestTasksOptionsPanel.vue
index cb4b109..a9e3ac3 100644
--- a/components/editor/quest/EditorQuestTasksOptionsPanel.vue
+++ b/components/editor/quest/EditorQuestTasksOptionsPanel.vue
@@ -29,22 +29,40 @@ const addTask = (newId: string, newType: string) => {
 <template>
   <EditorOptionsPanel v-if="quest">
     <div id="options">
-      <h2>Tasks <code>({{ Object.keys(quest.tasks).length }})</code></h2>
-
-      <p v-if="Object.keys(quest.tasks).length === 0" class="error-text">This quest does not have any tasks.</p>
-      <EditorTaskConfiguration v-for="(task, taskId) in quest.tasks" :key="taskId" :taskId="String(taskId)"
-        :quest="quest" />
+      <h2>
+        Tasks <code>({{ Object.keys(quest.tasks).length }})</code>
+      </h2>
+
+      <p v-if="Object.keys(quest.tasks).length === 0" class="error-text">
+        This quest does not have any tasks.
+      </p>
+      <EditorTaskConfiguration
+        v-for="(task, taskId) in quest.tasks"
+        :key="taskId"
+        :taskId="String(taskId)"
+        :quest="quest"
+      />
 
       <div id="controls">
-        <Button id="add-task" :icon="['fas', 'plus']" type="solid" label="Add task" @click="showAddTaskModal = true" />
+        <Button
+          id="add-task"
+          :icon="['fas', 'plus']"
+          type="solid"
+          label="Add task"
+          @click="showAddTaskModal = true"
+        />
       </div>
     </div>
   </EditorOptionsPanel>
 
-  <EditorTaskModalCreate v-if="quest" v-model="showAddTaskModal" :questId="questId" @add="addTask" />
+  <EditorTaskModalCreate
+    v-if="quest"
+    v-model="showAddTaskModal"
+    :questId="questId"
+    @add="addTask"
+  />
 </template>
 
-
 <style scoped>
 #options {
   display: flex;
-- 
cgit v1.2.3-70-g09d2

