refresh when change the favorite state (#181)

This commit is contained in:
Cilibiu Bogdan
2018-01-30 09:54:47 +02:00
committed by suzanadirla
parent d020baa35e
commit a9262659e4
@@ -42,6 +42,7 @@
<button
mat-menu-item
#selection="adfFavorite"
(toggle)="refresh()"
[adf-node-favorite]="documentList.selection">
<mat-icon [ngClass]="{ 'icon-highlight': selection.hasFavorites() }">
{{ selection.hasFavorites() ? 'star' :'star_border' }}