File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -942,14 +942,15 @@ export class ChatWidget extends Disposable implements IChatWidget {
942942 welcomeContent = this . getWelcomeViewContent ( additionalMessage ) ;
943943 welcomeContent . tips = tips ;
944944 }
945- // Optional: recent chat history above welcome content when enabled
946- const showHistory = this . configurationService . getValue < boolean > ( ChatConfiguration . EmptyStateHistoryEnabled ) ;
947- if ( showHistory ) {
948- this . renderWelcomeHistorySection ( ) ;
949- }
950-
951945 if ( ! this . welcomePart . value || this . welcomePart . value . needsRerender ( welcomeContent ) ) {
952946 dom . clearNode ( this . welcomeMessageContainer ) ;
947+
948+ // Optional: recent chat history above welcome content when enabled
949+ const showHistory = this . configurationService . getValue < boolean > ( ChatConfiguration . EmptyStateHistoryEnabled ) ;
950+ if ( showHistory ) {
951+ this . renderWelcomeHistorySection ( ) ;
952+ }
953+
953954 this . welcomePart . value = this . instantiationService . createInstance (
954955 ChatViewWelcomePart ,
955956 welcomeContent ,
You can’t perform that action at this time.
0 commit comments