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