You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/03/27 10:46:17 UTC
[cloudstack-primate] branch master updated: events: on
archiveEvents go back to previous page (#266)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
The following commit(s) were added to refs/heads/master by this push:
new 6d3d7e4 events: on archiveEvents go back to previous page (#266)
6d3d7e4 is described below
commit 6d3d7e42709fe7b5084eef8e1f09a5d3899f5d82
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Fri Mar 27 16:16:07 2020 +0530
events: on archiveEvents go back to previous page (#266)
Fixes #191
Signed-off-by: Abhishek Kumar <ab...@gmail.com>
---
src/views/AutogenView.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/AutogenView.vue b/src/views/AutogenView.vue
index 871c380..dca17e5 100644
--- a/src/views/AutogenView.vue
+++ b/src/views/AutogenView.vue
@@ -742,7 +742,7 @@ export default {
break
}
}
- if (this.currentAction.icon === 'delete' && this.dataView) {
+ if ((this.currentAction.icon === 'delete' || ['archiveEvents'].includes(this.currentAction.api)) && this.dataView) {
this.$router.go(-1)
} else {
if (!hasJobId) {