Skip to content

Commit

Permalink
Merge pull request #2940 from FlowFuse/2929-fix-nav-away-from-app-page
Browse files Browse the repository at this point in the history
Guard against refreshing an application page when route is changing
  • Loading branch information
knolleary authored Oct 13, 2023
2 parents 15e2aa1 + b019c65 commit cf77c8f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/src/pages/application/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ export default {
methods: {
async updateApplication () {
const applicationId = this.$route.params.id
// See https://github.com/FlowFuse/flowfuse/issues/2929
if (!applicationId) {
return
}
try {
this.applicationInstances = []
const applicationPromise = ApplicationApi.getApplication(applicationId)
Expand Down

0 comments on commit cf77c8f

Please sign in to comment.