|
@@ -229,7 +229,6 @@
|
|
|
$.get('/claims/current-claim-lines/' + claim.uid, (_data) => {
|
|
|
this.currentClaimLines = _data;
|
|
|
});
|
|
|
- console.log('ALIX', this.currentMBClaim);
|
|
|
}, 'json');
|
|
|
},
|
|
|
updateClaimStatus: function(_index, _status) {
|
|
@@ -241,7 +240,9 @@
|
|
|
if(!this.hasError(_data)) {
|
|
|
claim.status = _status;
|
|
|
this.claims.splice(_index, 1, claim);
|
|
|
- this.resetCurrentClaim();
|
|
|
+ if(_status === 'SUBMITTED') {
|
|
|
+ this.resetCurrentClaim();
|
|
|
+ }
|
|
|
}
|
|
|
}, 'json');
|
|
|
},
|