fix: Backup selection doesn't work sometimes (#6759)

This commit is contained in:
Michael Genson
2025-12-21 20:56:51 -06:00
committed by GitHub
parent 7cc2ed75e5
commit 8b92d6ee04

View File

@@ -37,7 +37,6 @@
$t('settings.backup.backup-restore-process-in-the-documentation') }}</a>
</template>
</i18n-t>
{{ $t('') }}
</p>
<v-checkbox
@@ -239,7 +238,7 @@ export default defineNuxtComponent({
});
function setSelected(data: { name: string; date: string }) {
if (selected.value === null || selected.value === undefined) {
if (!data.name) {
return;
}
selected.value = data.name;