From caaf7baff0b5995ef6c8fef213f1ec7af34ca911 Mon Sep 17 00:00:00 2001
From: Derick Montague <derick.montague@ibm.com>
Date: Fri, 9 Oct 2020 11:17:48 -0500
Subject: Fix documentation render bug

Using the i18n module in the BVToastMixin file caused an issue with
VuePress that resulted in the static files not being created and the
documentation rendering as a blank page.

- Removed the import of the BVToastMixin
- Copied BVToastMixin to docs components and removed i18n
- Copied the StatusIcon to docs components to so icons will render
with the correct fill color in the toast notifications

GitHub Issue: https://github.com/openbmc/webui-vue/issues/40

Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: Ie479df17d529ad2803c41e7442801e13601a0a02
---
 docs/.vuepress/components/BmcToasts.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'docs/.vuepress/components/BmcToasts.vue')

diff --git a/docs/.vuepress/components/BmcToasts.vue b/docs/.vuepress/components/BmcToasts.vue
index 4c9d30f38..6f90d1f10 100644
--- a/docs/.vuepress/components/BmcToasts.vue
+++ b/docs/.vuepress/components/BmcToasts.vue
@@ -8,7 +8,7 @@
 </template>
 
 <script>
-import BVToastMixin from '@/src/components/Mixins/BVToastMixin';
+import BVToastMixin from './app-imports/BVToastMixin';
 export default {
     name: 'BmcToasts',
     mixins: [BVToastMixin],
-- 
cgit v1.2.3

