Merged in bugfix/PMCORE-3438 (pull request #8220)

PMCORE-3438

Approved-by: Fabio Guachalla
This commit is contained in:
Rodrigo Quelca
2021-10-19 15:44:58 +00:00
committed by Julio Cesar Laura Avendaño
4 changed files with 17 additions and 5 deletions

View File

@@ -692,7 +692,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);
}
}
},
/**
@@ -985,7 +991,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) {