File tree Expand file tree Collapse file tree
apps/code/src/renderer/features/sessions/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ interface SessionViewProps {
5555 onRetry ?: ( ) => void ;
5656 onNewSession ?: ( ) => void ;
5757 isInitializing ?: boolean ;
58+ readOnlyMessage ?: string ;
5859 slackThreadUrl ?: string ;
5960 compact ?: boolean ;
6061}
@@ -80,6 +81,7 @@ export function SessionView({
8081 onRetry,
8182 onNewSession,
8283 isInitializing = false ,
84+ readOnlyMessage,
8385 slackThreadUrl,
8486 compact = false ,
8587} : SessionViewProps ) {
@@ -440,6 +442,17 @@ export function SessionView({
440442 />
441443 </ Box >
442444 </ Box >
445+ ) : readOnlyMessage ? (
446+ < Flex
447+ align = "center"
448+ justify = "center"
449+ py = "2"
450+ className = "border-gray-4 border-t"
451+ >
452+ < Text size = "2" color = "gray" >
453+ { readOnlyMessage }
454+ </ Text >
455+ </ Flex >
443456 ) : (
444457 < Box className = "relative border-gray-4 border-t" >
445458 < Box
You can’t perform that action at this time.
0 commit comments