File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
client/src/components/Chat Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export default function Landing({ centerFormOnLanding }: { centerFormOnLanding:
52
52
} ) ;
53
53
54
54
const name = entity ?. name ?? '' ;
55
- const description = entity ?. description ?? '' ;
55
+ const description = ( entity ?. description || conversation ?. greeting ) ?? '' ;
56
56
57
57
const getGreeting = useCallback ( ( ) => {
58
58
if ( typeof startupConfig ?. interface ?. customWelcome === 'string' ) {
@@ -186,8 +186,8 @@ export default function Landing({ centerFormOnLanding }: { centerFormOnLanding:
186
186
/>
187
187
) }
188
188
</ div >
189
- { ( isAgent || isAssistant ) && description && (
190
- < div className = "animate-fadeIn mt-2 max-w-md text-center text-sm font-normal text-text-primary" >
189
+ { description && (
190
+ < div className = "animate-fadeIn mt-4 max-w-md text-center text-sm font-normal text-text-primary" >
191
191
{ description }
192
192
</ div >
193
193
) }
You can’t perform that action at this time.
0 commit comments