Thing: Fix dirty warning shown on deletion if unsaved changes (#2892)
Signed-off-by: Florian Hotze <dev@florianhotze.com>pull/2895/head
parent
f7352894a1
commit
d432f3bde7
|
@ -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 })
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue