Skip to content

Commit

Permalink
fix: remove title from document (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh authored Apr 29, 2024
1 parent 796e9b3 commit aebee9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/item/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ const DocumentContent = ({ item }: { item: DocumentItemType }): JSX.Element => {
const documentItem = (
<DocumentItem
id={buildDocumentId(item.id)}
showTitle
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
showTitle={item.settings?.showTitle}
item={{ ...item, name: item.displayName }}
showCollapse={item.settings?.isCollapsible}
/>
Expand Down

0 comments on commit aebee9f

Please sign in to comment.