fix(ui): regression. Re-enable `disabled` state on buttons (with boolean)

This commit is contained in:
upsiflu 2025-01-20 18:33:35 +02:00
parent 2202d8431f
commit f15f675a91
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ onMounted(() => {
width(props, ['square'])(
align(props, { alignSelf:'start', alignText:'center' })(
)))}"
:disabled="disabled || undefined"
:class="['funkwhale', 'button', {'split-toggle': !dropdownOnly}]"
:title="splitTitle"
@click="onSplitClick"
@ -116,6 +117,7 @@ onMounted(() => {
width(props, isIconOnly ? ['square'] : ['normalHeight', 'buttonWidth'])(
align(props, { alignSelf:'start', alignText:'center' })(
)))"
:disabled="disabled || undefined"
class="funkwhale button"
:aria-pressed="props.ariaPressed"
:class="{