Skip to content

Commit b749604

Browse files
committed
Mise à jour de l'état de l'identité pour inclure le traitement en cours de synchronisation et l'état SYNCED
1 parent 02114ce commit b749604

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/pages/index.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const TO_COMPLETE = computed(() => identityStore.getToCompleteCount > 99 ? '99+'
3232
const TO_VALIDATE = computed(() => identityStore.getToValidateCount > 99 ? '99+' : identityStore.getToValidateCount)
3333
const ON_ERROR = computed(() => identityStore.getOnErrorCount > 99 ? '99+' : identityStore.getOnErrorCount)
3434
const TO_SYNC = computed(() => identityStore.getToSyncCount > 99 ? '99+' : identityStore.getToSyncCount)
35+
const PROCESSING = computed(() => identityStore.getProcessingCount > 99 ? '99+' : identityStore.getProcessingCount)
3536
const SYNCED = computed(() => identityStore.getSyncedCount > 99 ? '99+' : identityStore.getSyncedCount)
3637
3738
const ADM = computed(() => identityAffectationStore.getAdmCount > 9999 ? '9999+' : identityAffectationStore.getAdmCount)
@@ -43,6 +44,7 @@ const badges = ref({
4344
TO_VALIDATE,
4445
ON_ERROR,
4546
TO_SYNC,
47+
PROCESSING,
4648
SYNCED,
4749
ADM,
4850
ETD,
@@ -94,6 +96,14 @@ const menu = ref([
9496
part: 'Etats',
9597
badge: 'TO_SYNC'
9698
},
99+
{
100+
icon: 'mdi-loading',
101+
label: 'En cours de synchronisation',
102+
path: `/identities?sort[metadata.lastUpdatedAt]=desc&skip=0&limit=10&filters[@state][]=${IdentityState.PROCESSING}`,
103+
color: 'primary',
104+
part: 'Etats',
105+
badge: 'SYNCED'
106+
},
97107
{
98108
icon: 'mdi-check',
99109
label: 'Synchronisées',

0 commit comments

Comments
 (0)