fix: disabled attribute fallback (#1984)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1984 Reviewed-by: konrad <k@knt.li> Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:

committed by
konrad

parent
235967844a
commit
96fce73192
@ -13,7 +13,7 @@
|
||||
<div class="control">
|
||||
<input
|
||||
:class="{ 'disabled': filterService.loading}"
|
||||
:disabled="filterService.loading || null"
|
||||
:disabled="filterService.loading || undefined"
|
||||
@keyup.enter="saveSavedFilter"
|
||||
class="input"
|
||||
id="title"
|
||||
|
@ -13,7 +13,7 @@
|
||||
<input
|
||||
v-model="savedFilter.title"
|
||||
:class="{ 'disabled': savedFilterService.loading}"
|
||||
:disabled="savedFilterService.loading || null"
|
||||
:disabled="savedFilterService.loading || undefined"
|
||||
class="input"
|
||||
id="Title"
|
||||
:placeholder="$t('filters.attributes.titlePlaceholder')"
|
||||
|
@ -183,7 +183,7 @@
|
||||
<div class="bucket new-bucket" v-if="canWrite && !loading && buckets.length > 0">
|
||||
<input
|
||||
:class="{'is-loading': loading}"
|
||||
:disabled="loading || null"
|
||||
:disabled="loading || undefined"
|
||||
@blur="() => showNewBucketInput = false"
|
||||
@keyup.enter="createNewBucket"
|
||||
@keyup.esc="$event.target.blur()"
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div class="control">
|
||||
<input
|
||||
:class="{ 'disabled': listService.loading}"
|
||||
:disabled="listService.loading || null"
|
||||
:disabled="listService.loading || undefined"
|
||||
@keyup.enter="save"
|
||||
class="input"
|
||||
id="title"
|
||||
|
@ -15,7 +15,7 @@
|
||||
/>
|
||||
<x-button
|
||||
:loading="migrationService.loading"
|
||||
:disabled="migrationService.loading || null"
|
||||
:disabled="migrationService.loading || undefined"
|
||||
@click="$refs.uploadInput.click()"
|
||||
>
|
||||
{{ $t('migrate.upload') }}
|
||||
@ -25,7 +25,7 @@
|
||||
<p>{{ $t('migrate.authorize', {name: migrator.name}) }}</p>
|
||||
<x-button
|
||||
:loading="migrationService.loading"
|
||||
:disabled="migrationService.loading || null"
|
||||
:disabled="migrationService.loading || undefined"
|
||||
:href="authUrl"
|
||||
>
|
||||
{{ $t('migrate.getStarted') }}
|
||||
|
@ -13,7 +13,7 @@
|
||||
<div class="control">
|
||||
<input
|
||||
:class="{ 'disabled': namespaceService.loading}"
|
||||
:disabled="namespaceService.loading || null"
|
||||
:disabled="namespaceService.loading || undefined"
|
||||
class="input"
|
||||
id="namespacetext"
|
||||
:placeholder="$t('namespace.attributes.titlePlaceholder')"
|
||||
|
@ -10,7 +10,7 @@
|
||||
<div class="control">
|
||||
<input
|
||||
:class="{ disabled: teamMemberService.loading }"
|
||||
:disabled="teamMemberService.loading || null"
|
||||
:disabled="teamMemberService.loading || undefined"
|
||||
class="input"
|
||||
id="teamtext"
|
||||
:placeholder="$t('team.attributes.namePlaceholder')"
|
||||
|
Reference in New Issue
Block a user