PMCORE-3322 Unpause and Pause button seems not ben functional using HTTP/2.0 PMCORE_3.7.0 build

This commit is contained in:
Roly Gutierrez
2021-09-17 08:17:21 -04:00
parent ba1aeb9f95
commit 1c8870d1a5
5 changed files with 7 additions and 6 deletions

View File

@@ -164,7 +164,8 @@ export default {
this.data.reasonPause = this.pauseData.reasonPause;
api.cases.pauseCase(this.data)
.then((response) => {
if (response.statusText == "OK") {
console.log(response);
if (response.statusText == "OK" || response.status === 200) {
that.$refs["modal-pause-case"].hide();
that.$parent.$refs['ellipsis-' + that.data.TAS_UID].hideActionButtons()
if (that.$parent.$refs["vueTable"] !== undefined) {