Skip to content

Commit 755f837

Browse files
Merge branch 'endgame-202211' into endgame-202211.next
2 parents aaeb370 + 2f204c5 commit 755f837

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/dbtools/AzureCosmosDbAccountParamEditor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ public AzureCosmosDbAccountParamEditor(@Nonnull DatabaseAccountKind kind, @Nonnu
8383
combox.addValueChangedListener(this::setAccount);
8484
interchange.addPersistentProperty(KEY_COSMOS_ACCOUNT_ID);
8585
final String accountId = interchange.getProperty(KEY_COSMOS_ACCOUNT_ID);
86-
final boolean isModifying = StringUtils.isNotBlank(dataSource.getUsername());
87-
if (isModifying && StringUtils.isNotBlank(accountId)) {
86+
if (StringUtils.isNotBlank(accountId)) {
8887
combox.setValue(new AzureComboBox.ItemReference<>(i -> i.getId().equals(accountId)));
8988
}
9089

0 commit comments

Comments
 (0)