This commit is contained in:
syuilo 2018-12-09 23:12:08 +09:00
parent e207c30ce6
commit 5b74f2591b

View File

@ -45,7 +45,9 @@ export default Vue.extend({
}, },
mounted() { mounted() {
this.$nextTick(() => {
this.$store.commit('setUiHeaderHeight', this.$refs.root.offsetHeight); this.$store.commit('setUiHeaderHeight', this.$refs.root.offsetHeight);
});
if (this.$store.getters.isSignedIn) { if (this.$store.getters.isSignedIn) {
this.connection = this.$root.stream.useSharedConnection('main'); this.connection = this.$root.stream.useSharedConnection('main');