From c5f00dfdaee5249bb6d8dfa4ffb9534aa95ef1fe Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Wed, 28 Aug 2019 15:25:53 +0530 Subject: [PATCH] test/demo custom component Signed-off-by: Rohit Yadav --- ui/src/components/Test.vue | 23 +++++++++++++++++++++++ ui/src/config/section/compute.js | 6 +++--- 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 ui/src/components/Test.vue diff --git a/ui/src/components/Test.vue b/ui/src/components/Test.vue new file mode 100644 index 00000000000..dd06a8751b2 --- /dev/null +++ b/ui/src/components/Test.vue @@ -0,0 +1,23 @@ + + + + + diff --git a/ui/src/config/section/compute.js b/ui/src/config/section/compute.js index a5982e3dbd3..92be79697e2 100644 --- a/ui/src/config/section/compute.js +++ b/ui/src/config/section/compute.js @@ -75,11 +75,11 @@ export default { ] }, { - name: 'kubernetes', - title: 'Kubernetes', + name: 'demo', + title: 'Demo', icon: 'radar-chart', permission: [ 'listVirtualMachines' ], - component: () => import('@/components/CloudMonkey/Resource.vue') + component: () => import('@/components/CloudMonkey/Resource.vue'), }, { name: 'ssh',