mirror of https://github.com/VERT-sh/VERT.git
Make progress existance check better
This commit is contained in:
parent
03484be5d6
commit
a97759e130
|
@ -17,7 +17,7 @@
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="h-full bg-accent-background dynadark:bg-accent-foreground absolute left-0 top-0"
|
class="h-full bg-accent-background dynadark:bg-accent-foreground absolute left-0 top-0"
|
||||||
class:percentless-animation={!progress}
|
class:percentless-animation={progress === null}
|
||||||
style={percent
|
style={percent
|
||||||
? "width: {percent}%; transition: 500ms linear width;"
|
? "width: {percent}%; transition: 500ms linear width;"
|
||||||
: ""}
|
: ""}
|
||||||
|
|
Loading…
Reference in New Issue