Skip to content

Commit

Permalink
Fix incorrect SelectionViewComponent type check
Browse files Browse the repository at this point in the history
  • Loading branch information
Quahu committed Aug 9, 2024
1 parent 7e1c067 commit d7e8a23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ protected internal override LocalComponent ToLocalComponent()
selection.WithChannelTypes(_channelTypes);
}

if (_type != SelectionComponentType.String)
if (_type == SelectionComponentType.String)
{
selection.WithOptions(_options);
}
Expand Down

0 comments on commit d7e8a23

Please sign in to comment.