We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9002f7 + 937bdf7 commit 9a6baf6Copy full SHA for 9a6baf6
projects/dxc-ngx-cdk/src/lib/dxc-button/dxc-button.component.ts
@@ -169,12 +169,12 @@ export class DxcButtonComponent {
169
}
170
171
getModeStyle(){
172
- if(this.mode === "primary"){
173
- return this.getPrimaryStyle();
+ if(this.mode === "secondary"){
+ return this.getSecondaryStyle();
174
} else if(this.mode === "text"){
175
return this.getTextStyle();
176
} else {
177
- return this.getSecondaryStyle();
+ return this.getPrimaryStyle();
178
179
180
0 commit comments