From 4eeedcc677e1215c4cfcec66217cc53155b97943 Mon Sep 17 00:00:00 2001 From: Marcella Maki Date: Tue, 21 Nov 2023 14:30:54 -0500 Subject: [PATCH 1/3] Add additional TaskType constant for sync cleanup tasks, and filter out sync cleanup and LOD sync tasks from the Facility Task Management display --- kolibri/core/assets/src/utils/syncTaskUtils.js | 1 + kolibri/core/assets/src/views/sync/FacilityTaskPanel.vue | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/kolibri/core/assets/src/utils/syncTaskUtils.js b/kolibri/core/assets/src/utils/syncTaskUtils.js index 3cf3dea0748..3c0fa045ba9 100644 --- a/kolibri/core/assets/src/utils/syncTaskUtils.js +++ b/kolibri/core/assets/src/utils/syncTaskUtils.js @@ -24,6 +24,7 @@ export const TaskTypes = { IMPORTUSERSFROMCSV: 'kolibri.core.auth.tasks.importusersfromcsv', EXPORTUSERSTOCSV: 'kolibri.core.auth.tasks.exportuserstocsv', IMPORTLODUSER: 'kolibri.core.auth.tasks.peeruserimport', + CLEANUPSYNC: 'kolibri.core.auth.tasks.cleanupsync', }; // identical to facility constants.js diff --git a/kolibri/core/assets/src/views/sync/FacilityTaskPanel.vue b/kolibri/core/assets/src/views/sync/FacilityTaskPanel.vue index a62c0b3a7d0..0dfc3b1bf4d 100644 --- a/kolibri/core/assets/src/views/sync/FacilityTaskPanel.vue +++ b/kolibri/core/assets/src/views/sync/FacilityTaskPanel.vue @@ -1,6 +1,7 @@