Skip to content

Commit 8d8f3f2

Browse files
Flanker-MSFTFlanker-MSFT
authored andcommitted
Fix order of runtime to fix ux issue of web app creation dialog
1 parent 45359ae commit 8d8f3f2

File tree

1 file changed

+2
-2
lines changed
  • PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/appservice/platform

1 file changed

+2
-2
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/appservice/platform/RuntimeComboBox.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ public RuntimeComboBox(List<? extends Runtime> platformList) {
3838
// get order of operating system, order should be Linux, Windows, Docker
3939
private static Integer getOperatingSystemOrder(@Nonnull final Runtime runtime) {
4040
return switch (runtime.getOperatingSystem()) {
41-
case LINUX -> 0;
41+
case LINUX -> 2;
4242
case WINDOWS -> 1;
43-
case DOCKER -> 2;
43+
case DOCKER -> 0;
4444
};
4545
}
4646

0 commit comments

Comments
 (0)