primate: update dependencies and fix warnings

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2020-02-11 15:16:45 +05:30
parent f3a174b29c
commit 35210ebe83
4 changed files with 577 additions and 348 deletions

View File

@ -1,10 +1,4 @@
createLBHealthCheckPolicy
deleteLBHealthCheckPolicy
listDeploymentPlanners
listHostTags
listInternalLoadBalancerVMs
listLBHealthCheckPolicies
listStorageProviders
listStorageTags
startInternalLoadBalancerVM
stopInternalLoadBalancerVM

891
ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -33,10 +33,10 @@
},
"dependencies": {
"@antv/data-set": "^0.10.2",
"@fortawesome/fontawesome-svg-core": "^1.2.26",
"@fortawesome/free-brands-svg-icons": "^5.12.0",
"@fortawesome/free-regular-svg-icons": "^5.12.0",
"@fortawesome/free-solid-svg-icons": "^5.12.0",
"@fortawesome/fontawesome-svg-core": "^1.2.27",
"@fortawesome/free-brands-svg-icons": "^5.12.1",
"@fortawesome/free-regular-svg-icons": "^5.12.1",
"@fortawesome/free-solid-svg-icons": "^5.12.1",
"@fortawesome/vue-fontawesome": "^0.1.9",
"ant-design-vue": "~1.4.10",
"axios": "^0.19.2",
@ -62,12 +62,12 @@
},
"devDependencies": {
"@kazupon/vue-i18n-loader": "^0.5.0",
"@vue/cli": "^4.1.2",
"@vue/cli-plugin-babel": "^4.1.2",
"@vue/cli-plugin-eslint": "^4.1.2",
"@vue/cli-plugin-unit-jest": "^4.1.2",
"@vue/cli-service": "^4.1.2",
"@vue/eslint-config-standard": "^5.1.0",
"@vue/cli": "^4.2.2",
"@vue/cli-plugin-babel": "^4.2.2",
"@vue/cli-plugin-eslint": "^4.2.2",
"@vue/cli-plugin-unit-jest": "^4.2.2",
"@vue/cli-service": "^4.2.2",
"@vue/eslint-config-standard": "^5.1.1",
"@vue/test-utils": "^1.0.0-beta.20",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
@ -80,7 +80,7 @@
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^6.1.2",
"less": "^3.10.3",
"less": "^3.11.1",
"less-loader": "^5.0.0",
"node-sass": "^4.13.1",
"sass-loader": "^8.0.2",

View File

@ -35,7 +35,7 @@
animation="200"
ghostClass="drag-ghost">
<transition-group type="transition">
<div v-for="(acl, index) in acls" :key="index" class="list__item">
<div v-for="acl in acls" :key="acl.id" class="list__item">
<div class="drag-handle">
<a-icon type="drag"></a-icon>
</div>
@ -266,7 +266,7 @@ export default {
fetchData () {
this.fetchLoading = true
api('listNetworkACLs', { aclid: this.resource.id }).then(json => {
this.acls = json.listnetworkaclsresponse.networkacl
this.acls = json.listnetworkaclsresponse.networkacl || []
if (this.acls.length > 0) {
this.acls.sort((a, b) => a.number - b.number)
}
@ -285,7 +285,7 @@ export default {
resourceType: 'NetworkACL',
listAll: true
}).then(response => {
this.tags = response.listtagsresponse.tag
this.tags = response.listtagsresponse.tag || []
}).catch(error => {
this.$notification.error({
message: `Error ${error.response.status}`,