mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge branch '4.16'
This commit is contained in:
commit
1967b64b2b
@ -459,10 +459,9 @@ export default {
|
||||
successMethod: result => {
|
||||
if (singleZone) {
|
||||
const isResourcePage = (this.$route.params && this.$route.params.id)
|
||||
if (isResourcePage) {
|
||||
if (this.selectedItems.length === 0 && !this.showGroupActionModal) {
|
||||
this.$router.push({ path: '/template' })
|
||||
}
|
||||
const isSameResource = isResourcePage && this.$route.params.id === result.jobinstanceid
|
||||
if (isResourcePage && isSameResource && this.selectedItems.length === 0 && !this.showGroupActionModal) {
|
||||
this.$router.push({ path: '/template' })
|
||||
}
|
||||
} else {
|
||||
if (this.selectedItems.length === 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user