diff --git a/src/frontend/app/process/process.component.html b/src/frontend/app/process/process.component.html index d2442615fe7ed50efab213367d1c5f78832211d7..eb2d25eb5035f8c18e5bfff5133dc6e4fa736616 100644 --- a/src/frontend/app/process/process.component.html +++ b/src/frontend/app/process/process.component.html @@ -346,7 +346,7 @@ [resId]="currentResourceInformations.resId"> </app-history-list> <app-notes-list *ngIf="modal.id === 'notes' && !loading" #appNotesList [editMode]="true" - [resId]="currentResourceInformations.resId"> + [resId]="currentResourceInformations.resId" (reloadBadgeNotes)="refreshBadge($event,'notes')"> </app-notes-list> <app-linked-resource-list *ngIf="modal.id === 'linkedResources' && !loading" #appLinkedResourceList [resId]="currentResourceInformations.resId" diff --git a/src/frontend/app/process/process.component.ts b/src/frontend/app/process/process.component.ts index 2bde7c4ebfd71a6aceb64488c7055a22a899c758..3207d6864894f805aa8db17328195d30d48b487a 100755 --- a/src/frontend/app/process/process.component.ts +++ b/src/frontend/app/process/process.component.ts @@ -801,6 +801,7 @@ export class ProcessComponent implements OnInit, OnDestroy { this.loadBadges(); } else if (this.currentTool === 'notes' && this.appNotesList !== undefined) { this.appNotesList.addNote(); + this.loadBadges(); } }