Skip to content

Commit

Permalink
Merge pull request #2946 from FlowFuse/fix-nav
Browse files Browse the repository at this point in the history
Fix navigating away from instance page
  • Loading branch information
knolleary authored Oct 13, 2023
2 parents cf77c8f + 8c0d856 commit 48109d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/pages/instance/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ export default {
async loadInstance () {
const instanceId = this.$route.params.id
if (!instanceId) {
return
}
try {
const data = await InstanceApi.getInstance(instanceId)
this.instance = { ...{ deviceSettings: {} }, ...this.instance, ...data }
Expand Down

0 comments on commit 48109d8

Please sign in to comment.