mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 01:25:36 -05:00
Use correct string when checking "browse" option (#17432)
* Correct browse string match * Deduping const
This commit is contained in:
@@ -31,7 +31,7 @@ export async function getPublishDatabaseSettings(project: Project, promptForConn
|
||||
reject();
|
||||
});
|
||||
quickPick.onDidChangeSelection(async items => {
|
||||
if (items[0].label === constants.browseForProfile) {
|
||||
if (items[0].label === constants.browseForProfileWithIcon) {
|
||||
const locations = await promptForPublishProfile(project.projectFolderPath);
|
||||
if (!locations) {
|
||||
// Clear items so that this event will trigger again if they select the same item
|
||||
|
||||
Reference in New Issue
Block a user