pl-fe: fix status height calculation
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
@ -119,8 +119,10 @@ const StatusContent: React.FC<IStatusContent> = React.memo(({
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
||||||
if (expanded) collapseStatus(status.id);
|
if (expanded) {
|
||||||
else expandStatus(status.id);
|
collapseStatus(status.id);
|
||||||
|
setCollapsed(null);
|
||||||
|
} else expandStatus(status.id);
|
||||||
};
|
};
|
||||||
|
|
||||||
useLayoutEffect(() => {
|
useLayoutEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user