1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 01:26:41 +02:00
This commit is contained in:
syuilo
2018-12-09 23:12:08 +09:00
parent 1c589c7c18
commit fc05540404

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