mirror of
https://github.com/makeplane/plane.git
synced 2026-01-31 11:06:30 -06:00
[WEB-5080] fix: attachment and link count in spreadsheet columns #7942
This commit is contained in:
@@ -13,7 +13,7 @@ export const SpreadsheetAttachmentColumn: React.FC<Props> = observer((props) =>
|
||||
|
||||
return (
|
||||
<Row className="flex h-11 w-full items-center border-b-[0.5px] border-custom-border-200 py-1 text-xs hover:bg-custom-background-80 group-[.selected-issue-row]:bg-custom-primary-100/5 group-[.selected-issue-row]:hover:bg-custom-primary-100/10">
|
||||
{issue?.attachment_count} {issue?.attachment_count === 1 ? "attachment" : "attachments"}
|
||||
{issue?.attachment_count ?? 0} {issue?.attachment_count === 1 ? "attachment" : "attachments"}
|
||||
</Row>
|
||||
);
|
||||
});
|
||||
|
||||
@@ -13,7 +13,7 @@ export const SpreadsheetLinkColumn: React.FC<Props> = observer((props: Props) =>
|
||||
|
||||
return (
|
||||
<Row className="flex h-11 w-full items-center border-b-[0.5px] border-custom-border-200 px-2.5 py-1 text-xs hover:bg-custom-background-80 group-[.selected-issue-row]:bg-custom-primary-100/5 group-[.selected-issue-row]:hover:bg-custom-primary-100/10 px-page-x">
|
||||
{issue?.link_count} {issue?.link_count === 1 ? "link" : "links"}
|
||||
{issue?.link_count ?? 0} {issue?.link_count === 1 ? "link" : "links"}
|
||||
</Row>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user