fix: ATTR_ENUMERATED_COERCION in a few places
This commit is contained in:
parent
1864359751
commit
571b019c00
8 changed files with 12 additions and 12 deletions
|
@ -90,7 +90,7 @@
|
||||||
@start="() => drag = true"
|
@start="() => drag = true"
|
||||||
@end="e => saveListPosition(e, nk)"
|
@end="e => saveListPosition(e, nk)"
|
||||||
handle=".handle"
|
handle=".handle"
|
||||||
:disabled="n.id < 0"
|
:disabled="n.id < 0 || null"
|
||||||
tag="transition-group"
|
tag="transition-group"
|
||||||
item-key="id"
|
item-key="id"
|
||||||
:component-data="{
|
:component-data="{
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div :class="{'is-disabled': disabled}" class="fancycheckbox">
|
<div :class="{'is-disabled': disabled}" class="fancycheckbox">
|
||||||
<input
|
<input
|
||||||
:checked="checked"
|
:checked="checked"
|
||||||
:disabled="disabled"
|
:disabled="disabled || null"
|
||||||
:id="checkBoxId"
|
:id="checkBoxId"
|
||||||
@change="(event) => updateData(event.target.checked)"
|
@change="(event) => updateData(event.target.checked)"
|
||||||
style="display: none;"
|
style="display: none;"
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<label class="label">{{ $t('task.attributes.priority') }}</label>
|
<label class="label">{{ $t('task.attributes.priority') }}</label>
|
||||||
<div class="control single-value-control">
|
<div class="control single-value-control">
|
||||||
<priority-select
|
<priority-select
|
||||||
:disabled="!filters.usePriority"
|
:disabled="!filters.usePriority || null"
|
||||||
v-model.number="filters.priority"
|
v-model.number="filters.priority"
|
||||||
@change="setPriority"
|
@change="setPriority"
|
||||||
/>
|
/>
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
<percent-done-select
|
<percent-done-select
|
||||||
v-model.number="filters.percentDone"
|
v-model.number="filters.percentDone"
|
||||||
@change="setPercentDoneFilter"
|
@change="setPercentDoneFilter"
|
||||||
:disabled="!filters.usePercentDone"
|
:disabled="!filters.usePercentDone || null"
|
||||||
/>
|
/>
|
||||||
<fancycheckbox
|
<fancycheckbox
|
||||||
v-model="filters.usePercentDone"
|
v-model="filters.usePercentDone"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
/>
|
/>
|
||||||
<x-button
|
<x-button
|
||||||
:loading="migrationService.loading"
|
:loading="migrationService.loading"
|
||||||
:disabled="migrationService.loading"
|
:disabled="migrationService.loading || null"
|
||||||
@click="$refs.uploadInput.click()"
|
@click="$refs.uploadInput.click()"
|
||||||
>
|
>
|
||||||
{{ $t('migrate.upload') }}
|
{{ $t('migrate.upload') }}
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
<p>{{ $t('migrate.authorize', {name: name}) }}</p>
|
<p>{{ $t('migrate.authorize', {name: name}) }}</p>
|
||||||
<x-button
|
<x-button
|
||||||
:loading="migrationService.loading"
|
:loading="migrationService.loading"
|
||||||
:disabled="migrationService.loading"
|
:disabled="migrationService.loading || null"
|
||||||
:href="authUrl"
|
:href="authUrl"
|
||||||
>
|
>
|
||||||
{{ $t('migrate.getStarted') }}
|
{{ $t('migrate.getStarted') }}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<x-button @click="setApiUrl" :disabled="apiUrl === ''">
|
<x-button @click="setApiUrl" :disabled="apiUrl === '' || null">
|
||||||
{{ $t('apiConfig.change') }}
|
{{ $t('apiConfig.change') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
v-if="totalPages > 1"
|
v-if="totalPages > 1"
|
||||||
>
|
>
|
||||||
<router-link
|
<router-link
|
||||||
:disabled="currentPage === 1 ? true : null"
|
:disabled="currentPage === 1 || null"
|
||||||
:to="getRouteForPagination(currentPage - 1)"
|
:to="getRouteForPagination(currentPage - 1)"
|
||||||
class="pagination-previous"
|
class="pagination-previous"
|
||||||
tag="button">
|
tag="button">
|
||||||
{{ $t('misc.previous') }}
|
{{ $t('misc.previous') }}
|
||||||
</router-link>
|
</router-link>
|
||||||
<router-link
|
<router-link
|
||||||
:disabled="currentPage === totalPages ? true : null"
|
:disabled="currentPage === totalPages || null"
|
||||||
:to="getRouteForPagination(currentPage + 1)"
|
:to="getRouteForPagination(currentPage + 1)"
|
||||||
class="pagination-next"
|
class="pagination-next"
|
||||||
tag="button">
|
tag="button">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
:icon="icon"
|
:icon="icon"
|
||||||
v-tooltip="tooltipText"
|
v-tooltip="tooltipText"
|
||||||
@click="changeSubscription"
|
@click="changeSubscription"
|
||||||
:disabled="disabled"
|
:disabled="disabled || null"
|
||||||
v-if="isButton"
|
v-if="isButton"
|
||||||
>
|
>
|
||||||
{{ buttonText }}
|
{{ buttonText }}
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<input
|
<input
|
||||||
:class="{ 'disabled': listService.loading}"
|
:class="{ 'disabled': listService.loading}"
|
||||||
:disabled="listService.loading"
|
:disabled="listService.loading ? true : null"
|
||||||
@keyup.enter="save"
|
@keyup.enter="save"
|
||||||
class="input"
|
class="input"
|
||||||
id="identifier"
|
id="identifier"
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
<editor
|
<editor
|
||||||
:class="{ 'disabled': listService.loading}"
|
:class="{ 'disabled': listService.loading}"
|
||||||
:disabled="listService.loading"
|
:disabled="listService.loading"
|
||||||
:preview-is-default="false"
|
:previewIsDefault="false"
|
||||||
id="listdescription"
|
id="listdescription"
|
||||||
:placeholder="$t('list.edit.descriptionPlaceholder')"
|
:placeholder="$t('list.edit.descriptionPlaceholder')"
|
||||||
v-model="list.description"
|
v-model="list.description"
|
||||||
|
|
Loading…
Reference in a new issue