Skip to content

Commit 0819c27

Browse files
committed
Workaround to fix the enable status of deployment slot combobox in function deployment panel
1 parent 2c109fd commit 0819c27

File tree

1 file changed

+2
-0
lines changed
  • PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/runner/deploy/ui

1 file changed

+2
-0
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/runner/deploy/ui/FunctionDeploymentPanel.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ private void onSelectFunctionSlot(final DeploymentSlotConfig value) {
186186
if (value == null) {
187187
return;
188188
}
189+
toggleDeploymentSlot(chkSlot.isSelected());
189190
if (chkSlot.isSelected()) {
190191
if (value.isNewCreate()) {
191192
appSettingsTable.clear();
@@ -204,6 +205,7 @@ private void onSelectFunctionApp(final FunctionAppConfig value) {
204205
if (StringUtils.isEmpty(value.getResourceId())) {
205206
this.chkSlot.setSelected(false);
206207
}
208+
toggleDeploymentSlot(chkSlot.isSelected());
207209
this.cbDeploymentSlot.setAppService(value.getResourceId());
208210
if (!this.chkSlot.isSelected()) {
209211
loadAppSettings(getResourceId(value, null));

0 commit comments

Comments
 (0)