diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-02-15 23:04:33 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-02-15 23:04:33 +0000 |
| commit | 1195b085e31c44bc8fec6817d64063de9022eb66 (patch) | |
| tree | 6f30cbfbf30acc19347890080cbc907ad094106b /src/components/Editor/EditorPane.vue | |
| parent | 1869b5c5f9565b5e9e20697c4401a2f9ba9f2c3a (diff) | |
Partially add itemstack support
Diffstat (limited to 'src/components/Editor/EditorPane.vue')
| -rw-r--r-- | src/components/Editor/EditorPane.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/Editor/EditorPane.vue b/src/components/Editor/EditorPane.vue index 21d1f80..bf9532a 100644 --- a/src/components/Editor/EditorPane.vue +++ b/src/components/Editor/EditorPane.vue @@ -1,7 +1,7 @@ <script setup lang="ts"> import { useSessionStore } from '@/stores/session'; import { computed, ref } from 'vue'; -import { stripColourCodes } from '@/lib/util'; +import { stripColorCodes } from '@/lib/util'; import QuestOptionsPanel from '@/components/Editor/Quest/QuestOptionsPanel.vue'; import QuestTasksOptionsPanel from '@/components/Editor/Quest/QuestTasksOptionsPanel.vue'; import CategoryOptionsPanel from '@/components/Editor/Category/CategoryOptionsPanel.vue'; @@ -70,16 +70,16 @@ const duplicateQuest = (oldId: string, newId: string) => { <template v-if="selectedType === 'Quest'"> <template v-if="categoryFromSelectedQuest"> <font-awesome-icon class="icon" :icon="['fas', 'fa-folder']"/> - {{ stripColourCodes(categoryFromSelectedQuest?.display.name) }} + {{ stripColorCodes(categoryFromSelectedQuest?.display.name) }} <font-awesome-icon class="chevron" :icon="['fas', 'fa-chevron-right']"/> </template> <font-awesome-icon class="icon" :icon="['far', 'fa-compass']"/> - <span class="title">{{ stripColourCodes(selectedName!) }} </span> + <span class="title">{{ stripColorCodes(selectedName!) }} </span> <code>({{ selectedId }})</code> </template> <template v-if="selectedType === 'Category'"> <font-awesome-icon class="icon" :icon="['fas', 'fa-folder']"/> - <span class="title">{{ stripColourCodes(selectedName!) }} </span> + <span class="title">{{ stripColorCodes(selectedName!) }} </span> <code>({{ selectedId }})</code> </template> </span> |
