1
0

fix: disable button if loading

This commit is contained in:
Dominik Pschenitschni 2024-07-03 11:46:21 +02:00 committed by konrad
parent bc2baa3bbd
commit a721d9286b

View File

@ -8,6 +8,7 @@
'has-no-shadow': !shadow || variant === 'tertiary', 'has-no-shadow': !shadow || variant === 'tertiary',
} }
]" ]"
:disabled="disabled || loading"
:style="{ :style="{
'--button-white-space': wrap ? 'break-spaces' : 'nowrap', '--button-white-space': wrap ? 'break-spaces' : 'nowrap',
}" }"