PMCORE-3394: Unassigned > The user can pause a case
add a validation
This commit is contained in:
@@ -982,7 +982,7 @@ export default {
|
||||
this.typeView = newData.settings.view.typeView;
|
||||
}
|
||||
if (this.typeView === "GRID" && this.$refs["vueTable"]) {
|
||||
if (newData.settings && newData.settings.orderBy) {
|
||||
if (newData && newData.settings && newData.settings.orderBy) {
|
||||
this.$refs["vueTable"].setOrder(newData.settings.orderBy.column, newData.settings.orderBy.ascending);
|
||||
} else {
|
||||
this.$refs["vueTable"].setOrder(false);
|
||||
@@ -1132,13 +1132,6 @@ export default {
|
||||
that.openCaseDetail(data);
|
||||
}
|
||||
},
|
||||
pause: {
|
||||
name: "pause case",
|
||||
icon: "far fa-pause-circle",
|
||||
fn: function() {
|
||||
that.showModalPause(data);
|
||||
}
|
||||
},
|
||||
claim: {
|
||||
name: "claim case",
|
||||
icon: "fas fa-briefcase",
|
||||
|
||||
Reference in New Issue
Block a user