mirror of
https://github.com/docmost/docmost.git
synced 2026-05-20 00:14:10 +08:00
Add empty placeholder text
This commit is contained in:
@@ -143,6 +143,12 @@ export const TableOfContents: FC<TableOfContentsProps> = (props) => {
|
|||||||
{t("Add headings (H1, H2, H3) to generate a table of contents.")}
|
{t("Add headings (H1, H2, H3) to generate a table of contents.")}
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{props.isShare && (
|
||||||
|
<Text size="sm" c="dimmed">
|
||||||
|
{t("No table of contents.")}
|
||||||
|
</Text>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user