Fix missing import
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user