We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fa8fa5 commit efb1f2bCopy full SHA for efb1f2b
ui/src/views/image/TemplateZones.vue
@@ -453,10 +453,9 @@ export default {
453
successMethod: result => {
454
if (singleZone) {
455
const isResourcePage = (this.$route.params && this.$route.params.id)
456
- if (isResourcePage) {
457
- if (this.selectedItems.length === 0 && !this.showGroupActionModal) {
458
- this.$router.push({ path: '/template' })
459
- }
+ const isSameResource = isResourcePage && this.$route.params.id === result.jobinstanceid
+ if (isResourcePage && isSameResource && this.selectedItems.length === 0 && !this.showGroupActionModal) {
+ this.$router.push({ path: '/template' })
460
}
461
} else {
462
if (this.selectedItems.length === 0) {
0 commit comments