From aac6dd375e9a2946279175cdca3c402a703b2268 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Sat, 12 Oct 2019 00:10:08 +0530 Subject: [PATCH] info-card: apikey/secretkey for users Signed-off-by: Rohit Yadav --- ui/src/locales/en.json | 2 +- ui/src/views/AutogenView.vue | 2 +- ui/src/views/common/InfoCard.vue | 51 ++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 2 deletions(-) diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json index a7e561351d0..c16c6bcdf3d 100644 --- a/ui/src/locales/en.json +++ b/ui/src/locales/en.json @@ -127,7 +127,7 @@ "cpuused": "CPU Utilized", "cpuusedghz": "Used", "createNfsCache": "Create NFS secondary staging store", - "created": "Date", + "created": "Created", "credit": "Credit", "crossZones": "Cross Zones", "current": "isCurrent", diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index d38e0f9e197..80060d15580 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -361,7 +361,7 @@ export default { } if (this.items.length > 0) { this.resource = this.items[0] - if (this.items.length === 1 && Object.keys(this.$route.query).length > 0) { + if (this.items && this.items.length === 1 && Object.keys(this.$route.query).length > 0) { this.dataView = true } } else { diff --git a/ui/src/views/common/InfoCard.vue b/ui/src/views/common/InfoCard.vue index debb5d681c0..04ddeb7f40e 100644 --- a/ui/src/views/common/InfoCard.vue +++ b/ui/src/views/common/InfoCard.vue @@ -122,6 +122,40 @@ + +