Fix build

This commit is contained in:
SebClem 2024-08-13 12:09:25 +02:00
parent a76b20c199
commit 9976219ae7
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -71,9 +71,7 @@
<v-progress-linear <v-progress-linear
height="25" height="25"
:model-value="percent" :model-value="percent"
:indeterminate=" :indeterminate="indeterminate"
status?.progress == -1 && status.status != States.IDLE
"
class="" class=""
color="success" color="success"
rounded rounded
@ -112,4 +110,8 @@ const lastBackupProps = computed(() => {
return { icon: "mdi-alert", text: "Fail", color: "red" }; return { icon: "mdi-alert", text: "Fail", color: "red" };
} }
}); });
const indeterminate = computed(()=> {
return props.status?.progress == -1 && props.status.status != States.IDLE
})
</script> </script>