loading doleance data, displaying doleance icon

This commit is contained in:
2023-06-02 11:28:03 +02:00
parent 6d91dcc86d
commit c8aaf2591b
4 changed files with 139 additions and 9 deletions

View File

@@ -78,6 +78,9 @@ export const ConcernementsStore = defineStore({
this.allBesoinsById[besoin.id] = besoin;
});
// doleance
concernement.has_doleance = concernement.doleances.length ? true : false;
// common
this.concernements.push(concernement);
this.concernementsByID[concernement.id] = concernement;