This commit is contained in:
syuilo
2020-02-01 09:12:04 +09:00
parent 38dded5061
commit 53f018aae6
3 changed files with 32 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="mk-home" v-hotkey.global="keymap">
<portal to="header">
<portal to="header" v-if="showTitle">
<button @click="choose" class="_button _kjvfvyph_">
<i><fa v-if="$store.state.i.hasUnreadAntenna" :icon="faCircle"/></i>
<fa v-if="src === 'home'" :icon="faHome"/>
@@ -35,6 +35,13 @@ export default Vue.extend({
XTimeline
},
props: {
showTitle: {
type: Boolean,
required: true
}
},
data() {
return {
src: 'home',