mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-14 04:08:19 +00:00
Blocking click on mini-toggle label for disabled state (#2981)
Signed-off-by: Oleg Solodkov <oleg.solodkov@ezthera.com>
This commit is contained in:
parent
e96b6172e6
commit
99b6634cdd
@ -30,7 +30,9 @@
|
||||
<span
|
||||
class="mini-toggle-label"
|
||||
on:click={() => {
|
||||
on = !on
|
||||
if (!disabled) {
|
||||
on = !on
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Label {label} />
|
||||
|
Loading…
Reference in New Issue
Block a user