Fixup current set of vuejs type warnings
This commit is contained in:
@@ -285,7 +285,7 @@ onMounted(async () => {
|
||||
|
||||
<p v-html="$t('backups.archive.description')"></p>
|
||||
|
||||
<TableView :columns="columns" :model="archives" :busy="busy" @row-click="onInfo">
|
||||
<TableView :columns="columns" :model="archives" :busy="busy">
|
||||
<template #icon="archive">
|
||||
<img :src="archive.iconUrl || 'img/appicon_fallback.png'" v-fallback-image="API_ORIGIN + '/img/appicon_fallback.png'" height="24" width="24"/>
|
||||
</template>
|
||||
|
||||
@@ -103,7 +103,7 @@ const configureDays = ref([]);
|
||||
const configureHours = ref([]);
|
||||
const configureRetention = ref('');
|
||||
const isConfigureValid = computed(() => {
|
||||
return configureDays.value.length && configureHours.value.length;
|
||||
return !!configureDays.value.length && !!configureHours.value.length;
|
||||
});
|
||||
|
||||
function onConfigure() {
|
||||
|
||||
@@ -93,7 +93,7 @@ onMounted(async () => {
|
||||
<span v-show="config.provider === 'cifs' || config.provider === 'nfs' || config.provider === 'sshfs'">{{ mountOptions.host }}:{{ mountOptions.remoteDir }}{{ (config.prefix ? '/' : '') + config.prefix }}</span>
|
||||
</span>
|
||||
|
||||
<span v-show="config.provider !== 's3' && config.provider !== 'minio' && (s3like(config.provider) || provider === 'gcs')">{{ config.bucket + (config.prefix ? '/' : '') + config.prefix }}</span>
|
||||
<span v-show="config.provider !== 's3' && config.provider !== 'minio' && (s3like(config.provider) || config.provider === 'gcs')">{{ config.bucket + (config.prefix ? '/' : '') + config.prefix }}</span>
|
||||
<span v-show="config.provider === 's3'">{{ config.region + ' ' + config.bucket + (config.prefix ? '/' : '') + config.prefix }}</span>
|
||||
<span v-show="config.provider === 'minio'">{{ config.endpoint + ' ' + config.bucket + (config.prefix ? '/' : '') + config.prefix }}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user