PMCORE-3438: Paused > Different view to Unpaused a Case when the List or Card View is activated.

This commit is contained in:
Rodrigo Quelca
2021-10-18 14:02:48 +00:00
parent d94523158c
commit 2574b6da75
4 changed files with 17 additions and 5 deletions

View File

@@ -59,7 +59,13 @@ export default {
optionsVueView: {
limit: 10,
dblClick: (event, item, options) => {
this.openCase(item);
if (this.data.pageParent === "paused") {
this.showModalUnpauseCase(item);
} else if(this.data.pageParent === "unassigned") {
this.claimCase(item);
} else {
this.openCase(item);
}
},
headings: {
case_number: this.$i18n.t("ID_MYCASE_NUMBER"),