Fix issue with nullish progress value in progress circle component
This commit is contained in:
parent
937f5ece53
commit
4da58241b3
|
@ -17,6 +17,8 @@
|
|||
export let minValue = 0
|
||||
export let maxValue = 100
|
||||
|
||||
$: console.log(value)
|
||||
|
||||
let subMask1Style
|
||||
let subMask2Style
|
||||
$: calculateSubMasks(value)
|
||||
|
@ -42,7 +44,7 @@
|
|||
|
||||
<div
|
||||
on:click
|
||||
class:spectrum-ProgressCircle--indeterminate={!value}
|
||||
class:spectrum-ProgressCircle--indeterminate={value == null}
|
||||
class:spectrum-ProgressCircle--overBackground={overBackground}
|
||||
class="spectrum-ProgressCircle spectrum-ProgressCircle--{convertSize(size)}"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue