mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
chore: cleanup
This commit is contained in:
@@ -1964,7 +1964,9 @@ export default function Layout(props: ParentProps) {
|
||||
|
||||
<Collapsible.Content>
|
||||
<nav class="flex flex-col gap-1 px-2">
|
||||
<NewSessionItem slug={slug()} mobile={props.mobile} />
|
||||
<Show when={workspaceSetting()}>
|
||||
<NewSessionItem slug={slug()} mobile={props.mobile} />
|
||||
</Show>
|
||||
<Show when={loading()}>
|
||||
<SessionSkeleton />
|
||||
</Show>
|
||||
@@ -2171,7 +2173,9 @@ export default function Layout(props: ParentProps) {
|
||||
style={{ "overflow-anchor": "none" }}
|
||||
>
|
||||
<nav class="flex flex-col gap-1 px-2">
|
||||
<NewSessionItem slug={slug()} mobile={props.mobile} />
|
||||
<Show when={workspaceSetting()}>
|
||||
<NewSessionItem slug={slug()} mobile={props.mobile} />
|
||||
</Show>
|
||||
<Show when={loading()}>
|
||||
<SessionSkeleton />
|
||||
</Show>
|
||||
|
||||
Reference in New Issue
Block a user