From 571b019c00bbbeb09a96bdcf9c6eab39199f7656 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 17 Oct 2021 18:52:05 +0200 Subject: [PATCH] fix: ATTR_ENUMERATED_COERCION in a few places --- src/components/home/navigation.vue | 2 +- src/components/input/fancycheckbox.vue | 2 +- src/components/list/partials/filters.vue | 4 ++-- src/components/migrator/migration.vue | 4 ++-- src/components/misc/api-config.vue | 2 +- src/components/misc/pagination.vue | 4 ++-- src/components/misc/subscription.vue | 2 +- src/views/list/settings/edit.vue | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/home/navigation.vue b/src/components/home/navigation.vue index 733829d4..d19b9dae 100644 --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -90,7 +90,7 @@ @start="() => drag = true" @end="e => saveListPosition(e, nk)" handle=".handle" - :disabled="n.id < 0" + :disabled="n.id < 0 || null" tag="transition-group" item-key="id" :component-data="{ diff --git a/src/components/input/fancycheckbox.vue b/src/components/input/fancycheckbox.vue index 260ec8d2..d8e162de 100644 --- a/src/components/input/fancycheckbox.vue +++ b/src/components/input/fancycheckbox.vue @@ -2,7 +2,7 @@
{{ $t('task.attributes.priority') }}
@@ -53,7 +53,7 @@ {{ $t('migrate.upload') }} @@ -23,7 +23,7 @@

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

{{ $t('migrate.getStarted') }} diff --git a/src/components/misc/api-config.vue b/src/components/misc/api-config.vue index acf36df8..02be79ec 100644 --- a/src/components/misc/api-config.vue +++ b/src/components/misc/api-config.vue @@ -16,7 +16,7 @@ />
- + {{ $t('apiConfig.change') }}
diff --git a/src/components/misc/pagination.vue b/src/components/misc/pagination.vue index 958ba2de..63b7b365 100644 --- a/src/components/misc/pagination.vue +++ b/src/components/misc/pagination.vue @@ -6,14 +6,14 @@ v-if="totalPages > 1" > {{ $t('misc.previous') }} diff --git a/src/components/misc/subscription.vue b/src/components/misc/subscription.vue index 8865c43f..e6bef4fd 100644 --- a/src/components/misc/subscription.vue +++ b/src/components/misc/subscription.vue @@ -4,7 +4,7 @@ :icon="icon" v-tooltip="tooltipText" @click="changeSubscription" - :disabled="disabled" + :disabled="disabled || null" v-if="isButton" > {{ buttonText }} diff --git a/src/views/list/settings/edit.vue b/src/views/list/settings/edit.vue index 55892519..73d2c770 100644 --- a/src/views/list/settings/edit.vue +++ b/src/views/list/settings/edit.vue @@ -32,7 +32,7 @@