|
|
@@ -49,7 +49,7 @@ import {
|
|
|
JustificationObject,
|
|
|
ScoreExplanation,
|
|
|
HardConstraint,
|
|
|
-} from "@/models/SolverInput";
|
|
|
+} from "@/models/SolverInterface";
|
|
|
import updatePlanningVersions from "@/mixins/updatePlanningVersions";
|
|
|
import importJsonState from "@/mixins/ImportJsonState";
|
|
|
import { MutationTypes } from "@/store/Mutations";
|
|
|
@@ -416,8 +416,10 @@ export default defineComponent({
|
|
|
} else {
|
|
|
const parseObj = o as JustificationObject;
|
|
|
const slot = this.$store.getters.getCreneauById(parseObj.slotId);
|
|
|
- if (o.type == "MealSlot" & slot ){
|
|
|
- return slot.toString() + "\t" + slot.benevoleIdList.length + "/" + slot.maxAttendee;
|
|
|
+ if (o.type == "MealSlot" && slot) {
|
|
|
+ return (
|
|
|
+ slot.toString() + "\t" + slot.benevoleIdList.length + "/" + slot.maxAttendee
|
|
|
+ );
|
|
|
}
|
|
|
const benevole = this.$store.getters.getBenevoleById(parseObj.volonteerId);
|
|
|
return `Bénevole :\t${benevole?.shortame}<br>${slot?.toString()}`;
|