1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-26 20:09:27 -05:00
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() {
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');