Merged in bugfix/PMCORE-4021 (pull request #8609)

PMCORE-4021

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Martin Laguna
2022-10-04 12:41:16 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -93,11 +93,10 @@ export default {
}) })
) )
.then((response) => { .then((response) => {
if (response.status === 200) { if (response.status === 200 || response.status === 201) {
that.attachDocuments = false; that.attachDocuments = false;
that.dataAttachedDocuments.items = []; that.dataAttachedDocuments.items = [];
that.getCasesNotes(); that.getCasesNotes();
this.$refs["modal-comments"].hide();
this.$emit("postNotes"); this.$emit("postNotes");
} }
}) })