Skip to content

Commit

Permalink
Thing Add: Navigate to the new Thing once added (#3014)
Browse files Browse the repository at this point in the history
Resolve #3013

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
  • Loading branch information
jimtng authored Jan 14, 2025
1 parent 7ef5b6f commit 3a03421
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3a03421

Please sign in to comment.