fix: show correct label variant based on setting
This commit is contained in:
parent
d3f29134e0
commit
810e74e99f
@ -253,7 +253,7 @@ const Project = () => {
|
||||
path={`${match.path}/board`}
|
||||
render={() => (
|
||||
<Board
|
||||
cardLabelVariant={value === 'small' ? 'large' : 'small'}
|
||||
cardLabelVariant={value === 'small' ? 'small' : 'large'}
|
||||
onCardLabelClick={() => {
|
||||
const variant = value === 'small' ? 'large' : 'small';
|
||||
setValue(() => variant);
|
||||
|
Loading…
Reference in New Issue
Block a user