File tree Expand file tree Collapse file tree
packages/app/src/pages/session Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,12 @@ export function SessionSidePanel(props: {
5252 const { sessionKey, tabs, view } = useSessionLayout ( )
5353
5454 const isDesktop = createMediaQuery ( "(min-width: 768px)" )
55- const shown = createMemo ( ( ) => platform . platform !== "desktop" || settings . general . showFileTree ( ) )
55+ const shown = createMemo (
56+ ( ) =>
57+ platform . platform !== "desktop" ||
58+ import . meta. env . VITE_OPENCODE_CHANNEL !== "beta" ||
59+ settings . general . showFileTree ( ) ,
60+ )
5661
5762 const reviewOpen = createMemo ( ( ) => isDesktop ( ) && view ( ) . reviewPanel . opened ( ) )
5863 const fileOpen = createMemo ( ( ) => isDesktop ( ) && shown ( ) && layout . fileTree . opened ( ) )
Original file line number Diff line number Diff line change @@ -70,7 +70,10 @@ export const useSessionCommands = (actions: SessionCommandContext) => {
7070 } )
7171 const activeFileTab = tabState . activeFileTab
7272 const closableTab = tabState . closableTab
73- const shown = ( ) => platform . platform !== "desktop" || settings . general . showFileTree ( )
73+ const shown = ( ) =>
74+ platform . platform !== "desktop" ||
75+ import . meta. env . VITE_OPENCODE_CHANNEL !== "beta" ||
76+ settings . general . showFileTree ( )
7477
7578 const idle = { type : "idle" as const }
7679 const status = ( ) => sync . data . session_status [ params . id ?? "" ] ?? idle
You can’t perform that action at this time.
0 commit comments