We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0731c5 commit 9acba90Copy full SHA for 9acba90
1 file changed
ui/src/views/compute/AssignInstance.vue
@@ -306,7 +306,11 @@ export default {
306
message: this.$t('label.loadbalancerinstance')
307
})
308
this.$emit('close-action')
309
- this.parentFetchData()
+ if (this.$store.getters.project?.id) {
310
+ this.$router.push({ path: '/vm' })
311
+ } else {
312
+ this.parentFetchData()
313
+ }
314
}).catch(error => {
315
this.$notifyError(error)
316
}).finally(() => {
0 commit comments