diff options
| author | hakabahitoyo <hakabahitoyo@example.com> | 2018-02-04 00:27:33 +0900 |
|---|---|---|
| committer | hakabahitoyo <hakabahitoyo@example.com> | 2018-02-04 00:27:33 +0900 |
| commit | 95cba854f389ebdee200d0df147e4c26ed4949a0 (patch) | |
| tree | 90f265345b39e2f74b01208d4524f4f47e45c55f /src/App.js | |
| parent | 92289e545a62bd28ea336c5d712a05445e0e20ab (diff) | |
add instance specific panel
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2,6 +2,7 @@ import UserPanel from './components/user_panel/user_panel.vue' import NavPanel from './components/nav_panel/nav_panel.vue' import Notifications from './components/notifications/notifications.vue' import UserFinder from './components/user_finder/user_finder.vue' +import InstanceSpecificPanel from './components/instance_specific_panel/instance_specific_panel.vue' import ChatPanel from './components/chat_panel/chat_panel.vue' export default { @@ -11,7 +12,8 @@ export default { NavPanel, Notifications, UserFinder, - ChatPanel + ChatPanel, + InstanceSpecificPanel }, data: () => ({ mobileActivePanel: 'timeline' @@ -24,7 +26,8 @@ export default { logoStyle () { return { 'background-image': `url(${this.$store.state.config.logo})` } }, style () { return { 'background-image': `url(${this.background})` } }, sitename () { return this.$store.state.config.name }, - chat () { return this.$store.state.chat.channel } + chat () { return this.$store.state.chat.channel }, + showInstanceSpecificPanel () { return this.$store.state.config.showInstanceSpecificPanel} }, methods: { activatePanel (panelName) { |
