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

@@ -686,7 +686,13 @@ export default {
} else if (self.clickCount === 2) {
clearTimeout(self.singleClickTimer);
self.clickCount = 0;
self.openCase(event.row);
if (this.data.pageParent === "paused") {
self.showModalUnpauseCase(event.row);
} else if(this.data.pageParent === "unassigned") {
self.claimCase(event.row);
} else {
self.openCase(event.row);
}
}
},
/**
@@ -979,7 +985,7 @@ export default {
}
this.data.settings = newData.settings;
this.filters = {};
this.typeView = newData.settings.view.typeView;
this.typeView = newData.settings && newData.settings.view ? newData.settings.view.typeView : this.typeView;
}
if (this.typeView === "GRID" && this.$refs["vueTable"]) {
if (newData && newData.settings && newData.settings.orderBy) {