Fix missing import

This commit is contained in:
Girish Ramakrishnan
2026-02-15 19:21:06 +01:00
parent c6d8af5dc3
commit 510e1c7296
2 changed files with 4 additions and 7 deletions
+1
View File
@@ -14,6 +14,7 @@ export default [
"prefer-const": "error",
"vue/no-reserved-component-names": "off",
"vue/multi-word-component-names": "off",
"vue/no-undef-components": "error",
}
}
];
@@ -5,7 +5,7 @@ const i18n = useI18n();
const t = i18n.t;
import { ref, onMounted, onUnmounted, useTemplateRef } from 'vue';
import { Button, FormGroup, TextInput, Checkbox, TableView, Dialog } from '@cloudron/pankow';
import { Button, FormGroup, TextInput, Checkbox, TableView, Dialog, Spinner } from '@cloudron/pankow';
import { prettyLongDate, prettyFileSize } from '@cloudron/pankow/utils';
import { TASK_TYPES } from '../constants.js';
import ActionBar from '../components/ActionBar.vue';
@@ -170,9 +170,7 @@ function scheduleIntegrityPoll() {
integrityPollTimer = setTimeout(async () => {
integrityPollTimer = null;
await refreshBackups();
if (backups.value.some(b => b.integrityCheckTask?.active)) {
scheduleIntegrityPoll();
}
if (backups.value.some(b => b.integrityCheckTask?.active)) scheduleIntegrityPoll();
}, INTEGRITY_POLL_INTERVAL_MS);
}
@@ -187,9 +185,7 @@ async function refreshBackups() {
backups.value = result;
if (result.some(b => b.integrityCheckTask?.active)) {
scheduleIntegrityPoll();
}
if (result.some(b => b.integrityCheckTask?.active)) scheduleIntegrityPoll();
}
async function onStartIntegrityCheck(backup) {