Commit 221a016a authored by Laura Heimann's avatar Laura Heimann

shifted library update to login activity to not block rendering

parent 01996836
......@@ -8,10 +8,6 @@ import VueTilt from 'vue-tilt.js'
import { ipcRenderer } from 'electron';
import VueObserveVisibility from 'vue-observe-visibility'
import { VTooltip, VPopover, VClosePopover } from 'v-tooltip'
import ChartLibrary from '@/modules/module.library.js';
let chartLibrary = new ChartLibrary();
chartLibrary.updateLibrary();
Vue.use(VueTilt);
Vue.use(VueObserveVisibility);
......
......@@ -24,6 +24,7 @@
<script>
import SSAPI from '@/modules/module.api.js';
import UserSettings from '@/modules/module.usersettings.js';
import ChartLibrary from '@/modules/module.library.js';
import Loading from '@/components/Loading.vue';
......@@ -46,6 +47,9 @@
let ssapi = new SSAPI();
let userSettings = new UserSettings();
let chartLibrary = new ChartLibrary();
chartLibrary.updateLibrary();
if(!userSettings.get("connectToken")) {
this.showLoginBox();
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment