PMCORE-3261:Ellipsis does not hidden after execute an action

This commit is contained in:
fabio
2021-08-31 16:14:49 -04:00
parent 1275cec55c
commit 7861dd0fb8
9 changed files with 79 additions and 21 deletions

View File

@@ -55,9 +55,16 @@ export default {
api.cases.unpause(this.data).then((response) => {
if (response.statusText == "OK") {
that.$refs["modal-unpause-case"].hide();
if (that.$parent.$refs["vueTable"]) { // TODO this component should be return a event to parent to code in the parent
that.$parent.$refs['ellipsis-' + that.data.TAS_UID].hideActionButtons()
if (that.$parent.$refs["vueTable"] !== undefined) {
that.$parent.$refs["vueTable"].getData();
}
if (that.$parent.$refs["vueListView"] !== undefined) {
that.$parent.$refs["vueListView"].getData();
}
if (that.$parent.$refs["vueCardView"] !== undefined) {
that.$parent.$refs["vueCardView"].getData();
}
}
});
},