diff --git a/webclient/src/components/feedback/EditRequestModal.vue b/webclient/src/components/feedback/EditRequestModal.vue index 4c15961df..29322da55 100644 --- a/webclient/src/components/feedback/EditRequestModal.vue +++ b/webclient/src/components/feedback/EditRequestModal.vue @@ -1,6 +1,7 @@ <script setup lang="ts"> import BasicFeedbackModal from "@/components/feedback/TokenBasedModal.vue"; import { useGlobalStore } from "@/stores/global"; + const global = useGlobalStore(); </script> diff --git a/webclient/src/components/feedback/FeedbackModal.vue b/webclient/src/components/feedback/FeedbackModal.vue index 08954b5d4..e7158d797 100644 --- a/webclient/src/components/feedback/FeedbackModal.vue +++ b/webclient/src/components/feedback/FeedbackModal.vue @@ -5,7 +5,6 @@ import { useI18n } from "vue-i18n"; import TokenBasedModal from "@/components/feedback/TokenBasedModal.vue"; const { t } = useI18n({ inheritLocale: true, useScope: "global" }); - const global = useGlobalStore(); const deleteIssueRequested = ref(false); </script> diff --git a/webclient/src/locales/de.yaml b/webclient/src/locales/de.yaml index 4ea526bec..f20771a31 100644 --- a/webclient/src/locales/de.yaml +++ b/webclient/src/locales/de.yaml @@ -14,7 +14,6 @@ feedback: coordinatepicker: helptext: enter_serveral: Falls du mehrere Koordinaten gleichzeitig korrigieren willst, kannst du dieses Fenster schließen und weitere Koordinaten editieren. - limitation_to_coordinates: Achtung, das gilt nur für Koordinaten! saved_for_12h: Wir speichern deine Veränderungen für 12 Stunden bei dir lokal. title: Koordinate auswählen delete: Das zugehörige GitHub Issue löschen, sobald es gelöst wurde. diff --git a/webclient/src/stores/global.ts b/webclient/src/stores/global.ts index 814a4d9bc..48c21f32f 100644 --- a/webclient/src/stores/global.ts +++ b/webclient/src/stores/global.ts @@ -38,7 +38,7 @@ export const useGlobalStore = defineStore({ unfocusSearchBar(): void { this.search_focused = false; }, - openFeedback: function (category: PostFeedbackRequest["category"] = "general", subject = "", body = ""): void { + openFeedback(category: PostFeedbackRequest["category"] = "general", subject = "", body = ""): void { this.feedback.open = true; this.feedback.data = { category, subject, body, deletion_requested: false };