backups: show same filesystem warning

fixes #867
This commit is contained in:
Girish Ramakrishnan
2025-11-05 16:48:14 +01:00
parent de84b5113c
commit a518ee83cc
2 changed files with 10 additions and 2 deletions
+4 -1
View File
@@ -117,6 +117,7 @@ async function onRemount(site) {
if (statusError) console.error(statusError);
site.status.state = status.state === 'active' ? 'success' : 'danger';
site.status.message = status.message;
site.status.busy = false;
}
@@ -226,7 +227,8 @@ async function refreshStatusForSite(site) {
const [error, status] = await backupSitesModels.status(site.id);
if (error) return console.error(error);
site.status.state = status?.state === 'active' ? 'success' : 'danger';
site.status.state = status.state === 'active' ? 'success' : 'danger';
site.status.message = status.message;
site.status.busy = false;
}
@@ -342,6 +344,7 @@ onMounted(async () => {
<a :href="`/logs.html?taskId=${site.task.id}`" target="_blank"><span class="error-label">{{ site.task.error.message }} <Button small plain tool>Logs</Button></span></a>
</div>
</div>
<div style="margin-top: 10px;" class="text-danger" v-if="site.status.message" v-html="site.status.message"></div>
<div v-if="site.task && site.task.running">
<div style="margin-top: 10px; display: flex; align-items: center; gap: 10px; overflow: hidden;">
<div style="flex-grow: 1; overflow: hidden;">