File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1964,7 +1964,9 @@ export default function Layout(props: ParentProps) {
19641964
19651965 < Collapsible . Content >
19661966 < nav class = "flex flex-col gap-1 px-2" >
1967- < NewSessionItem slug = { slug ( ) } mobile = { props . mobile } />
1967+ < Show when = { workspaceSetting ( ) } >
1968+ < NewSessionItem slug = { slug ( ) } mobile = { props . mobile } />
1969+ </ Show >
19681970 < Show when = { loading ( ) } >
19691971 < SessionSkeleton />
19701972 </ Show >
@@ -2171,7 +2173,9 @@ export default function Layout(props: ParentProps) {
21712173 style = { { "overflow-anchor" : "none" } }
21722174 >
21732175 < nav class = "flex flex-col gap-1 px-2" >
2174- < NewSessionItem slug = { slug ( ) } mobile = { props . mobile } />
2176+ < Show when = { workspaceSetting ( ) } >
2177+ < NewSessionItem slug = { slug ( ) } mobile = { props . mobile } />
2178+ </ Show >
21752179 < Show when = { loading ( ) } >
21762180 < SessionSkeleton />
21772181 </ Show >
You can’t perform that action at this time.
0 commit comments