This commit is contained in:
2019-12-18 22:49:17 +00:00
parent 3e7b927118
commit 8399038370
4 changed files with 8 additions and 4 deletions

View File

@@ -11,6 +11,10 @@ export default {
// called from App.vue
handleMenuChange(vm, ctx) {
vm.appBar.isMain = ctx.isMain;
if (ctx.icon && !ctx.icon.startsWith("fa-")) {
ctx.icon = "fa-" + ctx.icon;
}
vm.appBar.icon = ctx.icon;
vm.appBar.title = ctx.title;