Skip to content

Commit

Permalink
OHRM5X-756: Fix work shift screen issues (orangehrm#975)
Browse files Browse the repository at this point in the history
* OHRM5X-756 - After adding new work shift, loader and navigation back issue fixed.

* OHRM5X-758 - Time Picker interval 15 min added.
  • Loading branch information
VageeshOrangeHRM authored and RajithaKumara committed Nov 17, 2021
1 parent 5438aa6 commit 377ada4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<oxd-input-field
type="time"
:rules="rules.fromTime"
:step="15"
:label="$t('general.from')"
v-model="workShift.startTime"
/>
Expand All @@ -54,6 +55,7 @@
<oxd-input-field
type="time"
:rules="rules.endTime"
:step="15"
:label="$t('general.to')"
v-model="workShift.endTime"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<oxd-input-field
type="time"
:rules="rules.fromTime"
:step="15"
:label="$t('general.from')"
v-model="workShift.startTime"
/>
Expand All @@ -54,6 +55,7 @@
<oxd-input-field
type="time"
:rules="rules.endTime"
:step="15"
:label="$t('general.to')"
v-model="workShift.endTime"
/>
Expand Down Expand Up @@ -164,7 +166,6 @@ export default {
})
.then(() => {
this.workShift = {...workShiftModel};
this.isLoading = false;
this.onCancel();
});
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public function getWorkShiftDefaultStartAndEndTime(): WorkShiftStartAndEndTime
/**
* @param $id
* @return WorkShift|null
* @throws DaoException
*/
public function getWorkShiftById($id): WorkShift
{
Expand Down

0 comments on commit 377ada4

Please sign in to comment.