This commit is contained in:
2018-11-28 17:53:19 +00:00
parent 72edf203e9
commit 47f1f04f86
3 changed files with 16 additions and 10 deletions

View File

@@ -72,8 +72,8 @@ export default {
beforeRouteEnter(to, from, next) {
//get lt, roles, populate top level components accordingly
lt.fetch(["Inventory"]).then(() => {
//attempt to init widgetlist before it's mounted!?
WidgetList.methods.init(lt);
//init widgetlist
WidgetList.init();
next();
});
},