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/LoaderTestDataModal.vue | |
| parent | 1dd5d0fa8bb2ae794b263d1629a662166a9b9d08 (diff) | |
Fix eslint errors
Diffstat (limited to 'components/loader/LoaderTestDataModal.vue')
| -rw-r--r-- | components/loader/LoaderTestDataModal.vue | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/components/loader/LoaderTestDataModal.vue b/components/loader/LoaderTestDataModal.vue index 8b0df21..582e224 100644 --- a/components/loader/LoaderTestDataModal.vue +++ b/components/loader/LoaderTestDataModal.vue @@ -8,7 +8,7 @@ const showModal = ref(false); const open = () => { showModal.value = true; -} +}; const confirm = () => { const quests = loadQuestsFromJson(testData.quests); @@ -23,11 +23,11 @@ const confirm = () => { navigateToEditorPane(null); showModal.value = false; -} +}; defineExpose({ - open -}) + open, +}); </script> <template> @@ -36,8 +36,10 @@ defineExpose({ <h2>Import test data</h2> </template> - <p>You can view a demo of the Quests editor by loading test data. This will replace your current workspace. - Do you want to continue?</p> + <p> + You can view a demo of the Quests editor by loading test data. This will replace your current + workspace. Do you want to continue? + </p> <div id="controls" class="control-group"> <Button :icon="['fas', 'xmark']" :label="'Cancel'" @click="showModal = false"></Button> @@ -52,4 +54,4 @@ defineExpose({ justify-content: flex-end; margin-top: 1rem; } -</style>
\ No newline at end of file +</style> |
