chore(core): remove outline viewer feature flag (#7770)

This commit is contained in:
L-Sun
2024-08-07 03:46:14 +00:00
parent aee24ffb31
commit f6279ee47f
5 changed files with 11 additions and 65 deletions
@@ -270,13 +270,11 @@ const DetailPageImpl = memo(function DetailPageImpl() {
})}
/>
</Scrollable.Root>
{appSettings.enableOutlineViewer && (
<EditorOutlineViewer
editor={editor}
show={mode === 'page' && !isSideBarOpen}
openOutlinePanel={openOutlinePanel}
/>
)}
<EditorOutlineViewer
editor={editor}
show={mode === 'page' && !isSideBarOpen}
openOutlinePanel={openOutlinePanel}
/>
</AffineErrorBoundary>
{isInTrash ? <TrashPageFooter /> : null}
</div>