PMCORE-2879: Cancel Case button does not work when it comes from a email link with new UI

remove debugger
This commit is contained in:
Rodrigo Quelca
2021-04-07 20:53:50 +00:00
parent 5af70bbf9b
commit 6c35cc2fdf
5 changed files with 50 additions and 56 deletions

View File

@@ -161,6 +161,7 @@ export default {
} else {
this.page = "MyCases";
}
this.lastPage = this.page;
},
/**
* Do a mapping of vue view for menus
@@ -212,9 +213,12 @@ export default {
this.pageId = null;
this.pageUri = item.item.href;
this.page = item.item.id || "MyCases";
if (this.$refs["component"] && this.$refs["component"].updateView) {
if (this.page === this.lastPage
&& this.$refs["component"]
&& this.$refs["component"].updateView) {
this.$refs["component"].updateView();
}
this.lastPage = this.page;
}
},
setCounter() {