8000 Update form-radio-check.js · bootstrap-vue/bootstrap-vue@08de62a · GitHub
[go: up one dir, main page]

Skip to content

Commit 08de62a

Browse files
committed
Update form-radio-check.js
1 parent 9867966 commit 08de62a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mixins/form-radio-check.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export const formRadioCheckMixin = Vue.extend({
154154
'btn',
155155
`btn-${this.computedButtonVariant}`,
156156
{
157-
[`btn-${computedSize}`]: !!computedSize,
157+
[`btn-${computedSize}`]: computedSize,
158158
// 'disabled' class makes "button" look disabled
159159
disabled: this.isDisabled,
160160
// 'active' class makes "button" look pressed
@@ -320,7 +320,7 @@ export const formRadioCheckMixin = Vue.extend({
320320
'custom-switch': isSwitch,
321321
'custom-radio': isCustom && isRadio,
322322
// Temporary until Bootstrap v4 supports sizing (most likely in V5)
323-
[`b-custom-control-${computedSize}`]: !!computedSize && !isBtnMode
323+
[`b-custom-control-${computedSize}`]: computedSize && !isBtnMode
324324
},
325325
bvAttrs.class
326326
],

0 commit comments

Comments
 (0)
0