Skip to content
Permalink
Browse files

color: updated

  • Loading branch information...
rashmithakkar committed May 15, 2019
1 parent 648d1d7 commit 939e983887f950dd24a9ff6e87c068bffa92175a
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/module/directive/color-palette.directive.ts
@@ -80,7 +80,8 @@ export class ColorPaletteDirective implements OnInit {
this.randomThemeCall();
}

if ((ColorPaletteConstants.accordion || ColorPaletteConstants.panel) && this.gradient) {
if ((this.hostComponent.amexioComponentId === ColorPaletteConstants.accordion ||
this.hostComponent.amexioComponentId === ColorPaletteConstants.panel) && this.gradient) {
this.hostComponent.changeHeaderColor();
}

0 comments on commit 939e983

Please sign in to comment.
You can’t perform that action at this time.