mirror of
https://github.com/immich-app/immich.git
synced 2025-12-26 17:25:00 +03:00
fix: use correct queue type in web
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
await createJob({ jobCreateDto: { name } });
|
||||
if (jobs) {
|
||||
expectingUpdate = true;
|
||||
jobs.backgroundTask.queueStatus.isActive = true;
|
||||
jobs.integrityCheck.queueStatus.isActive = true;
|
||||
}
|
||||
toastManager.success($t('admin.job_created'));
|
||||
} catch (error) {
|
||||
@@ -84,7 +84,7 @@
|
||||
onMount(async () => {
|
||||
while (running) {
|
||||
jobs = await getQueuesLegacy();
|
||||
if (jobs.backgroundTask.queueStatus.isActive) {
|
||||
if (jobs.integrityCheck.queueStatus.isActive) {
|
||||
expectingUpdate = true;
|
||||
} else if (expectingUpdate) {
|
||||
integrityReport = await getIntegrityReportSummary();
|
||||
|
||||
Reference in New Issue
Block a user