Skip to content

Commit

Permalink
fix(webui): title should override navbar, fix #213
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Apr 8, 2021
1 parent 1de4e7b commit b429522
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/plugin-webui/client/views/layout/navbar.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<nav>
<span class="title">Koishi 控制台</span>
<span class="title">{{ title }}</span>
<span class="right">
<template v-if="user">
<router-link to="/profile">{{ user.name }}<i class="fas fa-user-circle"/></router-link>
Expand All @@ -18,6 +18,8 @@
import { user } from '~/client'
import { useRouter } from 'vue-router'
const { title } = KOISHI_CONFIG
const router = useRouter()
async function logout() {
Expand Down

0 comments on commit b429522

Please sign in to comment.