Merge branch 'develop' into trunk

This commit is contained in:
Olivier Legat 2022-03-08 12:11:28 +01:00
commit c790fdf63d
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ class StoreScheduleRequest extends FormRequest
new EnumIsValidRule(CellModel::class)
],
'id_lie' => 'required_with:model_lie|nullable|numeric',
'description' => 'required|string|min:5|max:90'
'description' => 'required|string|min:3|max:90'
];
}
}

View file

@ -358,7 +358,7 @@ export default {
Object.keys(dbscheds).forEach(userid => {
//what if we missing a slot for the whole period ?
//we need to make missing slots too
for(let i=1; i < 5; i++) {
for(let i=1; i < this.daySlots+1; i++) {
if(dbscheds[userid][i] === undefined) {
dbscheds[userid][i] = {};
}