Skip to content

Commit

Permalink
Merge branch 'main' into 23.09
Browse files Browse the repository at this point in the history
  • Loading branch information
inureyes committed Feb 22, 2024
2 parents 41d67fa + 895e71a commit 3eac122
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
28 changes: 24 additions & 4 deletions react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@types/react": "^18.2.23",
"@types/react-dom": "^18.2.8",
"ahooks": "^3.7.8",
"antd": "^5.13.2",
"antd": "5.13.2",
"dayjs": "^1.11.10",
"i18next": "^23.5.1",
"i18next-http-backend": "^2.2.2",
Expand Down Expand Up @@ -70,6 +70,7 @@
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@craco/craco": "^7.1.0",
"@storybook/addon-essentials": "^7.4.5",
"@storybook/addon-interactions": "^7.4.5",
Expand Down
2 changes: 1 addition & 1 deletion src/components/backend-ai-storage-proxy-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export default class BackendAIStorageProxyList extends BackendAIPage {
.then((response) => {
const storage_volumes = response.storage_volume_list.items;
const storages: Array<any> = [];
if (storage_volumes !== undefined && storage_volumes.length != 0) {
if (storage_volumes !== undefined && storage_volumes.length > 0) {
Object.keys(storage_volumes).map((objectKey, index) => {
const storage: any = storage_volumes[objectKey];
if (this.filter !== '') {
Expand Down

0 comments on commit 3eac122

Please sign in to comment.