File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export function ChatSessionDisplay({
29
29
parentFolderName,
30
30
showDragHandle = true ,
31
31
projectId,
32
+ isCustomAssistant,
32
33
} : {
33
34
chatSession : ChatSession ;
34
35
isSelected : boolean ;
@@ -40,6 +41,7 @@ export function ChatSessionDisplay({
40
41
parentFolderName ?: string ;
41
42
showDragHandle ?: boolean ;
42
43
projectId ?: number ;
44
+ isCustomAssistant ?: boolean ;
43
45
} ) {
44
46
const router = useRouter ( ) ;
45
47
const [ isHovered , setIsHovered ] = useState ( false ) ;
Original file line number Diff line number Diff line change @@ -293,6 +293,13 @@ export default function Projects({ onOpenProject }: ProjectsProps) {
293
293
isSelected = { chatSession . id == chatSessionId }
294
294
showDragHandle = { false }
295
295
projectId = { p . id }
296
+ isCustomAssistant = {
297
+ currentProjectId === p . id &&
298
+ ! ! currentProjectDetails ?. persona_id_to_is_default &&
299
+ currentProjectDetails . persona_id_to_is_default [
300
+ chatSession . persona_id
301
+ ] === false
302
+ }
296
303
/>
297
304
) )
298
305
) : (
You can’t perform that action at this time.
0 commit comments