Skip to content

Commit

Permalink
Merge pull request #2660 from Azure/hotfix/remove-test-code
Browse files Browse the repository at this point in the history
Hotfix release 2.16.1
  • Loading branch information
gingi authored Feb 16, 2023
2 parents 1d7ac1a + 9d407aa commit 15b8c7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.16.1

* Test data caused storage account to show as "classic" [\#2659](https://github.com/Azure/BatchExplorer/issues/2659)

# 2.16.0

[All items](https://github.com/Azure/BatchExplorer/milestone/50?closed=1)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"name": "Microsoft Corporation",
"email": "[email protected]"
},
"version": "2.16.0",
"version": "2.16.1",
"main": "build/client/main.prod.js",
"scripts": {
"ts": "ts-node --project tsconfig.node.json --files",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ export class AutoStorageAccountPickerComponent implements OnInit, ControlValueAc
private _processStorageAccounts(storageAccounts: List<StorageAccount>) {
const prefered = [];
const others = [];
storageAccounts.forEach((account, i) => {
account.isClassic = i % 2 === 0;
storageAccounts.forEach((account) => {
if (account.location.toLowerCase() === this.account.location.toLowerCase()) {
prefered.push(account);
} else {
Expand Down

0 comments on commit 15b8c7d

Please sign in to comment.