This commit is contained in:
syuilo 2018-12-09 23:12:08 +09:00
parent 1c589c7c18
commit fc05540404
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

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');