diff --git a/src/app/store/publication-folder.service.ts b/src/app/store/publication-folder.service.ts index 5f6eb27e3..42147b3e4 100644 --- a/src/app/store/publication-folder.service.ts +++ b/src/app/store/publication-folder.service.ts @@ -181,15 +181,14 @@ export class PublicationFolderService { console.log('try') - let a: any = Object.assign({}, this.publicationList[folderId][findIndex]) - let b: any = Object.assign({}, publicationDetails) + let a: any = this.publicationList[folderId][findIndex] + let b: any = publicationDetails const fileNamesB = a.Files.map((e) => e.OriginalFileName).join('') const fileNamesL = b.Files.map((e) => e.OriginalFileName).join('') if (a.Message != b.Message || a.Title != b.Title || a.Files.length != b.Files.length || fileNamesB != fileNamesL) { - console.log({a, b}) this.publicationList[folderId][findIndex] = publicationDetails } diff --git a/version/git-version.ts b/version/git-version.ts index c60c4a1b4..c9029653b 100644 --- a/version/git-version.ts +++ b/version/git-version.ts @@ -1,11 +1,11 @@ export let versionData = { - "shortSHA": "971a73f0a", - "SHA": "971a73f0a3bbb182ba836f7dae1434e4cd021136", + "shortSHA": "74b82fb79", + "SHA": "74b82fb79dadc783c2c00f92ca7304fc0f97d615", "branch": "feature/agenda-api-peter", "lastCommitAuthor": "'Peter Maquiran'", - "lastCommitTime": "'Thu Jul 25 09:32:45 2024 +0100'", - "lastCommitMessage": "improve the way wa getting the user profile picture", - "lastCommitNumber": "5880", - "changeStatus": "On branch feature/agenda-api-peter\nYour branch is ahead of 'origin/feature/agenda-api-peter' by 1 commit.\n (use \"git push\" to publish your local commits)\n\nChanges to be committed:\n (use \"git restore --staged ...\" to unstage)\n\tmodified: version/git-version.ts", + "lastCommitTime": "'Thu Jul 25 09:36:21 2024 +0100'", + "lastCommitMessage": "update git version", + "lastCommitNumber": "5881", + "changeStatus": "On branch feature/agenda-api-peter\nYour branch is ahead of 'origin/feature/agenda-api-peter' by 2 commits.\n (use \"git push\" to publish your local commits)\n\nChanges to be committed:\n (use \"git restore --staged ...\" to unstage)\n\tmodified: src/app/store/publication-folder.service.ts", "changeAuthor": "peter.maquiran" } \ No newline at end of file