From dfe51628e857bdb2b5f3636125e7401a7b1961b8 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 18 Jun 2023 21:59:01 +0200 Subject: [PATCH] Fixed minor linting issues --- webclient/src/components/feedback/EditRequestModal.vue | 1 + webclient/src/components/feedback/FeedbackModal.vue | 1 - webclient/src/locales/de.yaml | 1 - webclient/src/stores/global.ts | 2 +- 4 files changed, 2 insertions(+), 3 deletions(-) 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 @@ 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); 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 };