Skip to content

Commit

Permalink
fix duplicate save alert
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Nov 27, 2023
1 parent 7c4492a commit da5e907
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/editor/components/timetable/EditableCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ export default class EditableCell extends Component<Props, State> {
}

save () {
this.cancel()
const {column} = this.props
const {data} = this.state
// for non-time rendering
Expand Down

1 comment on commit da5e907

@AdrianaCeric
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is my favourite commit

Please sign in to comment.