mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 09:12:58 +01:00
Fix build
This commit is contained in:
parent
a76b20c199
commit
9976219ae7
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user