mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 17:22:20 -05:00
options loading from profile if has profile loaded (#19791)
* options loading from profile if has profile loaded * Removing profile file unwanted changes * updating profiles options comment * STS vBump * revert STS version from this PR
This commit is contained in:
committed by
GitHub
parent
4ebe4c4547
commit
66115d8f80
@@ -836,6 +836,9 @@ export class PublishDatabaseDialog {
|
||||
this.targetDatabaseName = result.databaseName;
|
||||
}
|
||||
|
||||
// set options coming from the publish profiles to deployment options
|
||||
this.setDeploymentOptions(result.options);
|
||||
|
||||
if (Object.keys(result.sqlCmdVariables).length) {
|
||||
// add SQLCMD Variables table if it wasn't there before and the profile had sqlcmd variables
|
||||
if (Object.keys(this.project.sqlCmdVariables).length === 0 && Object.keys(<Record<string, string>>this.sqlCmdVars).length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user