Skip to content

Commit

Permalink
change to active logic when mounting chip component
Browse files Browse the repository at this point in the history
  • Loading branch information
briangregoryholmes committed Dec 14, 2023
1 parent 90d5085 commit c8af4eb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ are details left to the consumer of the component; this component should remain
export let label: string | undefined = undefined;
export let dimensionName: string;
const active = !selectedValues.length;

Check failure on line 42 in web-common/src/components/chip/removable-list-chip/RemovableListChip.svelte

View workflow job for this annotation

GitHub Actions / build

'active' is assigned a value but never used
const dispatch = createEventDispatcher();
const StateManagers = getStateManagers();
Expand All @@ -53,7 +55,7 @@ are details left to the consumer of the component; this component should remain
let:active
distance={8}
alignment="start"
active={true}
{active}
>
<Tooltip
location="bottom"
Expand Down

0 comments on commit c8af4eb

Please sign in to comment.