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.stopPropagation();
|
||||
|
||||
if (expanded) collapseStatus(status.id);
|
||||
else expandStatus(status.id);
|
||||
if (expanded) {
|
||||
collapseStatus(status.id);
|
||||
setCollapsed(null);
|
||||
} else expandStatus(status.id);
|
||||
};
|
||||
|
||||
useLayoutEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user