Skip to content

Commit

Permalink
Thing: Fix dirty warning shown on deletion if unsaved changes (#2892)
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 authored Dec 1, 2024
1 parent f735289 commit d432f3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ export default {
'Delete Thing',
() => {
this.$oh.api.delete(url).then(() => {
this.dirty = false
this.dirty = this.configDirty = this.thingDirty = false
this.$f7router.back('/settings/things/', { force: true })
})
}
Expand Down

0 comments on commit d432f3b

Please sign in to comment.