Skip to content

Commit c1097d3

Browse files
authored
Merge pull request #26 from Microsoft/commandbar-declarative-cd-fix
Fix change detection on items change in command bar when using declarative syntax
2 parents 5b4df68 + 0635680 commit c1097d3

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
@@ -171,6 +171,8 @@ export class FabCommandBarComponent extends ReactWrapperComponent<ICommandBarPro
171171
) => {
172172
this[itemsPropertyKey] = mapper(this[itemsPropertyKey]);
173173
transformItemsFunc(this[itemsPropertyKey]);
174+
175+
this.markForCheck();
174176
};
175177

176178
// Initial items

0 commit comments

Comments
 (0)