Skip to content

Commit

Permalink
Fixed minor linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Jun 18, 2023
1 parent d2e007f commit 19f196f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions webclient/src/components/feedback/EditRequestModal.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script setup lang="ts">
import BasicFeedbackModal from "@/components/feedback/TokenBasedModal.vue";
import { useGlobalStore } from "@/stores/global";
const global = useGlobalStore();
</script>

Expand Down
1 change: 0 additions & 1 deletion webclient/src/components/feedback/FeedbackModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion webclient/src/locales/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion webclient/src/stores/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Check warning on line 41 in webclient/src/stores/global.ts

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

webclient/src/stores/global.ts#L41

expected parameter: 'subject' to have a typedef
this.feedback.open = true;
this.feedback.data = { category, subject, body, deletion_requested: false };

Expand Down

0 comments on commit 19f196f

Please sign in to comment.