Thing: Fix dirty warning shown on deletion if unsaved changes (#2892)

Signed-off-by: Florian Hotze <dev@florianhotze.com>
pull/2895/head
Florian Hotze 2024-12-01 15:26:12 +01:00 committed by GitHub
parent f7352894a1
commit d432f3bde7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 })
})
}