Skip to content

Commit baa3baa

Browse files
authored
Title is required warning when title is provided (#6998)
Fixes #6949
1 parent 4b9d189 commit baa3baa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webviews/common/createContextNew.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,10 @@ export class CreatePRContextNew {
172172
command: 'pr.generateTitleAndDescription',
173173
args
174174
});
175-
const updateValues: { pendingTitle?: string, pendingDescription?: string } = {};
175+
const updateValues: { pendingTitle?: string, pendingDescription?: string, showTitleValidationError?: boolean } = {};
176176
if (response.title) {
177177
updateValues.pendingTitle = response.title;
178+
updateValues.showTitleValidationError = false;
178179
}
179180
if (response.description) {
180181
updateValues.pendingDescription = response.description;

0 commit comments

Comments
 (0)