From 96fce73192bb49bae50a2d34cb377c9779998396 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Sun, 22 May 2022 15:08:37 +0000 Subject: [PATCH] fix: disabled attribute fallback (#1984) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1984 Reviewed-by: konrad Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/components/home/navigation.vue | 2 +- src/components/input/fancycheckbox.vue | 2 +- src/components/list/partials/filters.vue | 4 ++-- src/components/misc/api-config.vue | 2 +- src/components/misc/pagination.vue | 4 ++-- src/components/misc/subscription.vue | 2 +- src/components/tasks/edit-task.vue | 2 +- src/components/tasks/partials/attachments.vue | 2 +- src/components/tasks/partials/defer-task.vue | 2 +- src/views/filters/FilterEdit.vue | 2 +- src/views/filters/FilterNew.vue | 2 +- src/views/list/ListKanban.vue | 2 +- src/views/list/settings/edit.vue | 2 +- src/views/migrator/MigrateService.vue | 4 ++-- src/views/namespaces/settings/edit.vue | 2 +- src/views/teams/EditTeam.vue | 2 +- 16 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/components/home/navigation.vue b/src/components/home/navigation.vue index 5bfae9c9..de566e67 100644 --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -94,7 +94,7 @@ @start="() => drag = true" @end="saveListPosition" handle=".handle" - :disabled="n.id < 0 || null" + :disabled="n.id < 0 || undefined" tag="transition-group" item-key="id" :data-namespace-id="n.id" diff --git a/src/components/input/fancycheckbox.vue b/src/components/input/fancycheckbox.vue index 20e8381e..204efeec 100644 --- a/src/components/input/fancycheckbox.vue +++ b/src/components/input/fancycheckbox.vue @@ -2,7 +2,7 @@
diff --git a/src/components/list/partials/filters.vue b/src/components/list/partials/filters.vue index 61878e41..d63fd664 100644 --- a/src/components/list/partials/filters.vue +++ b/src/components/list/partials/filters.vue @@ -36,7 +36,7 @@
@@ -54,7 +54,7 @@
- + {{ $t('apiConfig.change') }}
diff --git a/src/components/misc/pagination.vue b/src/components/misc/pagination.vue index 4379af39..00eeebc9 100644 --- a/src/components/misc/pagination.vue +++ b/src/components/misc/pagination.vue @@ -6,13 +6,13 @@ v-if="totalPages > 1" > {{ $t('misc.previous') }} {{ $t('misc.next') }} diff --git a/src/components/misc/subscription.vue b/src/components/misc/subscription.vue index 81fb910e..e7f9e958 100644 --- a/src/components/misc/subscription.vue +++ b/src/components/misc/subscription.vue @@ -5,7 +5,7 @@ :icon="iconName" v-tooltip="tooltipText" @click="changeSubscription" - :disabled="disabled || null" + :disabled="disabled || undefined" > {{ buttonText }} diff --git a/src/components/tasks/edit-task.vue b/src/components/tasks/edit-task.vue index 1afa7173..6505c2fd 100644 --- a/src/components/tasks/edit-task.vue +++ b/src/components/tasks/edit-task.vue @@ -11,7 +11,7 @@
diff --git a/src/views/filters/FilterEdit.vue b/src/views/filters/FilterEdit.vue index d3129843..8c6bfebf 100644 --- a/src/views/filters/FilterEdit.vue +++ b/src/views/filters/FilterEdit.vue @@ -13,7 +13,7 @@
{{ $t('migrate.upload') }} @@ -25,7 +25,7 @@

{{ $t('migrate.authorize', {name: migrator.name}) }}

{{ $t('migrate.getStarted') }} diff --git a/src/views/namespaces/settings/edit.vue b/src/views/namespaces/settings/edit.vue index 6c7d0d41..5336c5ef 100644 --- a/src/views/namespaces/settings/edit.vue +++ b/src/views/namespaces/settings/edit.vue @@ -13,7 +13,7 @@