Skip to content
Snippets Groups Projects
Verified Commit 71487631 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #12071 TIME 0:10 Refresh badge note

parent e97c0083
No related branches found
No related tags found
No related merge requests found
...@@ -76,6 +76,7 @@ export class NotesListComponent implements OnInit { ...@@ -76,6 +76,7 @@ export class NotesListComponent implements OnInit {
this.notes.splice(index, 1); this.notes.splice(index, 1);
} }
this.notify.success(this.lang.noteRemoved); this.notify.success(this.lang.noteRemoved);
this.reloadBadgeNotes.emit(`${this.notes.length}`);
}) })
).subscribe(); ).subscribe();
} }
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
[resId]="currentResourceInformations.resId"> [resId]="currentResourceInformations.resId">
</app-history-list> </app-history-list>
<app-notes-list *ngIf="currentTool === 'notes' && !loading" #appNotesList [editMode]="true" <app-notes-list *ngIf="currentTool === 'notes' && !loading" #appNotesList [editMode]="true"
[resId]="currentResourceInformations.resId"> [resId]="currentResourceInformations.resId" (reloadBadgeNotes)="refreshBadge($event,'notes')">
</app-notes-list> </app-notes-list>
<app-linked-resource-list *ngIf="currentTool === 'linkedResources' && !loading" #appLinkedResourceList <app-linked-resource-list *ngIf="currentTool === 'linkedResources' && !loading" #appLinkedResourceList
[resId]="currentResourceInformations.resId" [resId]="currentResourceInformations.resId"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment