Skip to content

Commit 0ff5865

Browse files
committed
automatically go back when the user deletes a schedule
1 parent b1fb58a commit 0ff5865

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/views/building-hours/report/editor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export class BuildingHoursScheduleEditorView extends React.PureComponent {
4444

4545
delete = () => {
4646
this.props.navigation.state.params.onDeleteSet()
47+
this.props.navigation.goBack()
4748
}
4849

4950
onChangeDays = (newDays: DayOfWeekEnumType[]) => {

0 commit comments

Comments
 (0)