Thing Add: Navigate to the new Thing once added (#3014)
Resolve #3013 Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>pull/3021/head
parent
7ef5b6fe1c
commit
3a034210f1
|
@ -158,7 +158,7 @@ export default {
|
|||
destroyOnClose: true,
|
||||
closeTimeout: 2000
|
||||
}).open()
|
||||
setTimeout(() => { this.$f7router.navigate('/settings/things/', { reloadCurrent: true }) }, 300)
|
||||
this.$f7router.navigate('/settings/things/' + this.thing.UID)
|
||||
})
|
||||
.catch((error) => {
|
||||
this.$f7.dialog.alert('Error creating Thing: ' + error)
|
||||
|
|
Loading…
Reference in New Issue