From 063568013766ef7fcd333cf82f2a9dc9da73c414 Mon Sep 17 00:00:00 2001 From: Ben Grynhaus Date: Fri, 19 Oct 2018 22:03:33 +0300 Subject: [PATCH] Fix change detection on items change in command bar when using declarative syntax --- .../src/lib/components/command-bar/command-bar.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/fabric/src/lib/components/command-bar/command-bar.component.ts b/libs/fabric/src/lib/components/command-bar/command-bar.component.ts index 9c7d7d94..7df78b59 100644 --- a/libs/fabric/src/lib/components/command-bar/command-bar.component.ts +++ b/libs/fabric/src/lib/components/command-bar/command-bar.component.ts @@ -171,6 +171,8 @@ export class FabCommandBarComponent extends ReactWrapperComponent { this[itemsPropertyKey] = mapper(this[itemsPropertyKey]); transformItemsFunc(this[itemsPropertyKey]); + + this.markForCheck(); }; // Initial items