PMCORE-3017-E
This commit is contained in:
@@ -224,10 +224,7 @@ export default {
|
||||
})
|
||||
)
|
||||
.then((response) => {
|
||||
if (
|
||||
response.data.success === "success" &&
|
||||
response.data.message == ""
|
||||
) {
|
||||
if (response.status === 200 ) {
|
||||
that.attachDocuments = false;
|
||||
that.dataAttachedDocuments.items = [];
|
||||
that.getCasesNotes();
|
||||
@@ -416,7 +413,7 @@ export default {
|
||||
Api.caseNotes
|
||||
.get(this.dataCase)
|
||||
.then((response) => {
|
||||
that.formatResponseCaseNotes(response.data.notes);
|
||||
that.formatResponseCaseNotes(response.data.data);
|
||||
that.dataComments.noPerms = response.data.noPerms || 0;
|
||||
})
|
||||
.catch((err) => {
|
||||
@@ -430,12 +427,12 @@ export default {
|
||||
n.id = _.random(1000000);
|
||||
notesArray.push({
|
||||
user: that.nameFormatCases(
|
||||
n.USR_FIRSTNAME,
|
||||
n.USR_LASTNAME,
|
||||
n.USR_USERNAME
|
||||
n.usr_firstname,
|
||||
n.usr_lastname,
|
||||
n.usr_username
|
||||
),
|
||||
date: n.NOTE_DATE,
|
||||
comment: n.NOTE_CONTENT,
|
||||
date: n.note_date,
|
||||
comment: n.note_content,
|
||||
data: n
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user