From 71e4ad2c71efea471923ea47f01bfda841387f81 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Sun, 10 Mar 2024 01:31:42 +0000
Subject: Use nuxt auto import magic

---
 components/Editor/Quest/Modal/DeleteQuestModal.vue | 42 ----------------------
 1 file changed, 42 deletions(-)
 delete mode 100644 components/Editor/Quest/Modal/DeleteQuestModal.vue

(limited to 'components/Editor/Quest/Modal/DeleteQuestModal.vue')

diff --git a/components/Editor/Quest/Modal/DeleteQuestModal.vue b/components/Editor/Quest/Modal/DeleteQuestModal.vue
deleted file mode 100644
index d0b0c5a..0000000
--- a/components/Editor/Quest/Modal/DeleteQuestModal.vue
+++ /dev/null
@@ -1,42 +0,0 @@
-<script setup lang="ts">
-import Modal from '@/components/Control/Modal.vue';
-import Button from '@/components/Control/Button.vue';
-
-const model = defineModel();
-
-const emit = defineEmits(['delete']);
-
-defineProps({
-  questId: String,
-});
-</script>
-
-<template>
-  <Modal v-model="model">
-    <template v-slot:header>
-      <h2>Really delete quest '{{ questId }}'?</h2>
-    </template>
-    <p>Are you sure you want to delete this quest? The quests editor does not have undo functionality (yet)! </p>
-    <div id="confirm" class="control-group">
-      <Button
-        :icon="['fas', 'fa-times']"
-        :label="'Cancel'"
-        @click="model = false"
-      ></Button>
-      <Button
-        type="solid"
-        :icon="['fas', 'fa-trash']"
-        :label="'Delete'"
-        @click="emit('delete')"
-      ></Button>
-    </div>
-  </Modal>
-</template>
-
-<style scoped>
-#confirm {
-  display: flex;
-  justify-content: flex-end;
-  margin-top: 1rem;
-}
-</style>
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

