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`}
|
path={`${match.path}/board`}
|
||||||
render={() => (
|
render={() => (
|
||||||
<Board
|
<Board
|
||||||
cardLabelVariant={value === 'small' ? 'large' : 'small'}
|
cardLabelVariant={value === 'small' ? 'small' : 'large'}
|
||||||
onCardLabelClick={() => {
|
onCardLabelClick={() => {
|
||||||
const variant = value === 'small' ? 'large' : 'small';
|
const variant = value === 'small' ? 'large' : 'small';
|
||||||
setValue(() => variant);
|
setValue(() => variant);
|
||||||
|
Loading…
Reference in New Issue
Block a user