From 10cd8fcb3ef128aa84b99a4be76f55724677fab9 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Sat, 12 Oct 2019 16:48:35 +0530 Subject: [PATCH] icons: remove unused icons and fix css Signed-off-by: Rohit Yadav --- ui/src/components/page/GlobalHeader.vue | 2 +- ui/src/components/widgets/Breadcrumb.vue | 2 +- ui/src/core/ext.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/src/components/page/GlobalHeader.vue b/ui/src/components/page/GlobalHeader.vue index a92189d2a28..47b779aaf3f 100644 --- a/ui/src/components/page/GlobalHeader.vue +++ b/ui/src/components/page/GlobalHeader.vue @@ -24,7 +24,7 @@ {{ $route.params.id }} - + {{ $t(tem.meta.title) }} diff --git a/ui/src/components/widgets/Breadcrumb.vue b/ui/src/components/widgets/Breadcrumb.vue index d8a74d2bfdc..efbdf117a13 100644 --- a/ui/src/components/widgets/Breadcrumb.vue +++ b/ui/src/components/widgets/Breadcrumb.vue @@ -12,7 +12,7 @@ {{ $route.params.id }} - + {{ $t(item.meta.title) }} diff --git a/ui/src/core/ext.js b/ui/src/core/ext.js index 97bde5a20ab..22c577e0c7b 100644 --- a/ui/src/core/ext.js +++ b/ui/src/core/ext.js @@ -8,9 +8,9 @@ import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' // import { far } from '@fortawesome/free-regular-svg-icons' import { faCentos, faUbuntu, faSuse, faRedhat, faFedora, faLinux, faFreebsd, faApple, faWindows, faJava } from '@fortawesome/free-brands-svg-icons' -import { faLanguage, faMicrochip, faMemory, faDatabase, faEthernet, faCompactDisc } from '@fortawesome/free-solid-svg-icons' +import { faLanguage, faCompactDisc } from '@fortawesome/free-solid-svg-icons' library.add(faCentos, faUbuntu, faSuse, faRedhat, faFedora, faLinux, faFreebsd, faApple, faWindows, faJava) -library.add(faLanguage, faMicrochip, faMemory, faDatabase, faEthernet, faCompactDisc) +library.add(faLanguage, faCompactDisc) Vue.component('font-awesome-icon', FontAwesomeIcon)