From 95cba854f389ebdee200d0df147e4c26ed4949a0 Mon Sep 17 00:00:00 2001 From: hakabahitoyo Date: Sun, 4 Feb 2018 00:27:33 +0900 Subject: add instance specific panel --- src/App.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/App.js') diff --git a/src/App.js b/src/App.js index 0636c47d..1c6f4fcc 100644 --- a/src/App.js +++ b/src/App.js @@ -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) { -- cgit v1.2.3-70-g09d2 From f23940a153b501f5edaecd292ebf2c7b9345d33f Mon Sep 17 00:00:00 2001 From: Hakaba Hitoyo Date: Sat, 10 Feb 2018 01:09:49 +0000 Subject: Update App.js --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/App.js') diff --git a/src/App.js b/src/App.js index 4eabba8b..e9248967 100644 --- a/src/App.js +++ b/src/App.js @@ -27,7 +27,7 @@ export default { style () { return { 'background-image': `url(${this.background})` } }, sitename () { return this.$store.state.config.name }, chat () { return this.$store.state.chat.channel.state === 'joined' }, - showInstanceSpecificPanel () { return this.$store.state.config.showInstanceSpecificPanel} + showInstanceSpecificPanel () { return this.$store.state.config.showInstanceSpecificPanel } }, methods: { activatePanel (panelName) { -- cgit v1.2.3-70-g09d2