Skip to content

Commit 2b0d08b

Browse files
authored
show the current short name in the input (microsoft#161812)
1 parent 9c618ec commit 2b0d08b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export class UserDataProfilesWorkbenchContribution extends Disposable implements
181181

182182
const profile = that.userDataProfileService.currentProfile;
183183
const shortName = await quickInputService.input({
184-
value: profile.shortName,
184+
value: that.userDataProfileService.getShortName(profile),
185185
title: localize('change short name', "Change Short Name..."),
186186
validateInput: async (value: string) => {
187187
if (profile.shortName !== value && !ThemeIcon.fromString(value) && charCount(value) > 2) {

0 commit comments

Comments
 (0)