fix():fix merge
This commit is contained in:
parent
e72b63116c
commit
30cc41955b
|
|
@ -163,14 +163,8 @@ export class ShiftsUpdateDeleteService {
|
|||
for (let j = i + 1; j < shifts.length; j++) {
|
||||
const shift_a = shifts[i];
|
||||
const shift_b = shifts[j];
|
||||
<<<<<<< HEAD
|
||||
|
||||
if (shift_a.date !== shift_b.date) continue;
|
||||
if (shift_a.id === shift_b.id) continue;
|
||||
=======
|
||||
|
||||
if (shift_a.date !== shift_b.date || shift_a.id === shift_b.id) continue;
|
||||
>>>>>>> 37b150d87c98746a3cb23bbe36ee9e364c6a613d
|
||||
const has_overlap = overlaps(
|
||||
{ start: toHHmmFromString(shift_a.start_time), end: toHHmmFromString(shift_a.end_time) },
|
||||
{ start: toHHmmFromString(shift_b.start_time), end: toHHmmFromString(shift_b.end_time) },
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user