wip
This commit is contained in:
parent
e4120e930c
commit
49d257992f
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ init(async (launch) => {
|
|||
}
|
||||
|
||||
app.$router.addRoutes([{
|
||||
path: '/', component: MkIndex
|
||||
path: '/', name: 'index', component: MkIndex
|
||||
}, {
|
||||
path: '/i/drive', component: MkDrive
|
||||
}, {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="nav">
|
||||
<ul>
|
||||
<template v-if="os.isSignedIn">
|
||||
<li class="home" :class="{ active: page == 'home' }">
|
||||
<li class="home" :class="{ active: $route.name == 'index' }">
|
||||
<router-link to="/">
|
||||
%fa:home%
|
||||
<p>%i18n:desktop.tags.mk-ui-header-nav.home%</p>
|
||||
|
|
Loading…
Reference in a new issue