Skip to content

Commit

Permalink
fix: check if labs are less than quota instead of not equal to quota …
Browse files Browse the repository at this point in the history
…for lab ui
  • Loading branch information
VeeIsForVanana committed Aug 13, 2024
1 parent 90c009e commit 611e98f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div class="flex justify-between" slot="summary">
{#if lab.quota === 0}
<h5 class="h5 text-gray-400">{lab.lab_name}</h5>
{:else if selected.length !== lab.quota}
{:else if selected.length < lab.quota}
<h5 class="h5">{lab.lab_name}</h5>
{:else}
<h5 class="h5 text-warning-500">{lab.lab_name}</h5>
Expand Down

0 comments on commit 611e98f

Please sign in to comment.