Skip to content

Commit

Permalink
リアクションアイコンの表示がmetaを待機して遅いことがあるのを改善
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Mar 6, 2021
1 parent 3cf935c commit 5c7b968
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/client/app/common/views/components/reaction-icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ export default Vue.extend({
};
},
created() {
this.$root.getMeta().then(meta => {
if (meta && meta.emojis) this.localEmojis = meta.emojis;
});
const meta = this.$root.getMetaSync();
if (meta && meta.emojis) this.localEmojis = meta.emojis;
},
computed: {
ce(): any[] {
Expand Down

0 comments on commit 5c7b968

Please sign in to comment.