mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
refresh when change the favorite state (#181)
This commit is contained in:
committed by
suzanadirla
parent
d020baa35e
commit
a9262659e4
@@ -42,6 +42,7 @@
|
|||||||
<button
|
<button
|
||||||
mat-menu-item
|
mat-menu-item
|
||||||
#selection="adfFavorite"
|
#selection="adfFavorite"
|
||||||
|
(toggle)="refresh()"
|
||||||
[adf-node-favorite]="documentList.selection">
|
[adf-node-favorite]="documentList.selection">
|
||||||
<mat-icon [ngClass]="{ 'icon-highlight': selection.hasFavorites() }">
|
<mat-icon [ngClass]="{ 'icon-highlight': selection.hasFavorites() }">
|
||||||
{{ selection.hasFavorites() ? 'star' :'star_border' }}
|
{{ selection.hasFavorites() ? 'star' :'star_border' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user