File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ export class Button {
322
322
this . _renderer . setElementClass ( this . _elementRef . nativeElement , this . _role + '-' + type . toLowerCase ( ) , assignCssClass ) ;
323
323
}
324
324
}
325
-
325
+
326
326
/**
327
327
* @private
328
328
*/
@@ -331,7 +331,7 @@ export class Button {
331
331
// Support array to allow removal of many styles at once.
332
332
let styles = ( type instanceof Array ? type : [ type ] ) ;
333
333
styles . forEach ( styleName => {
334
- let colorStyle = ( styleName !== null && styleName !== 'default' ? styleName . toLowerCase ( ) + '-' : '' ) ;
334
+ let colorStyle = ( styleName !== null && styleName !== 'default' && styleName !== 'solid' ? styleName . toLowerCase ( ) + '-' : '' ) ;
335
335
this . _colors . forEach ( colorName => {
336
336
this . _setClass ( colorStyle + colorName , assignCssClass ) ; // button-secondary, button-clear-secondary
337
337
} ) ;
You can’t perform that action at this time.
0 commit comments