Skip to content

Commit f45dfbf

Browse files
author
Ben Grynhaus
committed
Fix change detection on items change in command bar when using declarative syntax
1 parent 47ca476 commit f45dfbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/fabric/src/lib/components/command-bar/command-bar.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ export class FabCommandBarComponent extends ReactWrapperComponent<ICommandBarPro
172172
) => {
173173
this[itemsPropertyKey] = mapper(this[itemsPropertyKey]);
174174
transformItemsFunc(this[itemsPropertyKey]);
175+
176+
this.detectChanges();
175177
};
176178

177179
// Initial items

0 commit comments

Comments
 (0)