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() {
this.$store.commit('setUiHeaderHeight', this.$refs.root.offsetHeight);
this.$nextTick(() => {
this.$store.commit('setUiHeaderHeight', this.$refs.root.offsetHeight);
});
if (this.$store.getters.isSignedIn) {
this.connection = this.$root.stream.useSharedConnection('main');