diff --git a/src/components/date/datepickerWithRange.vue b/src/components/date/datepickerWithRange.vue index d06cd2e2a..b160435f0 100644 --- a/src/components/date/datepickerWithRange.vue +++ b/src/components/date/datepickerWithRange.vue @@ -191,7 +191,7 @@ const props = defineProps({ showSelectedOnButton: { type: Boolean, default: false, - } + }, }) // FIXME: This seems to always contain the default value - that breaks the picker diff --git a/src/components/misc/popup.vue b/src/components/misc/popup.vue index f3815781a..9713cff21 100644 --- a/src/components/misc/popup.vue +++ b/src/components/misc/popup.vue @@ -20,7 +20,7 @@ const props = defineProps({ hasOverflow: { type: Boolean, default: false, - } + }, }) function hidePopup(e) { diff --git a/src/views/tasks/ShowTasks.vue b/src/views/tasks/ShowTasks.vue index ef0d6aeb9..a7743e30b 100644 --- a/src/views/tasks/ShowTasks.vue +++ b/src/views/tasks/ShowTasks.vue @@ -98,6 +98,8 @@ export default { pageTitle() { let title = '' + // We need to define "key" because it is the first parameter in the array and we need the second + // eslint-disable-next-line no-unused-vars const predefinedRange = Object.entries(dateRanges).find(([key, value]) => this.dateFrom === value[0] && this.dateTo === value[1]) if (typeof predefinedRange !== 'undefined') { title = this.$t(`input.datepickerRange.ranges.${predefinedRange[0]}`)