diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-01-16 21:31:09 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-01-16 21:31:09 +0900 |
| commit | 9885c6ba6cb17c38ff723e529834ec2fff210d86 (patch) | |
| tree | 7b600c0e870b072b0497a561edf21ae84f90fab6 /packages/client/src/components | |
| parent | wip: refactor(client): migrate components to composition api (diff) | |
| download | misskey-9885c6ba6cb17c38ff723e529834ec2fff210d86.tar.gz misskey-9885c6ba6cb17c38ff723e529834ec2fff210d86.tar.bz2 misskey-9885c6ba6cb17c38ff723e529834ec2fff210d86.zip | |
wip: refactor(client): migrate components to composition api
Diffstat (limited to 'packages/client/src/components')
| -rw-r--r-- | packages/client/src/components/global/avatar.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/client/src/components/global/avatar.vue b/packages/client/src/components/global/avatar.vue index 9e8979fe56..27cfb6e4d4 100644 --- a/packages/client/src/components/global/avatar.vue +++ b/packages/client/src/components/global/avatar.vue @@ -35,9 +35,9 @@ const emit = defineEmits<{ (e: 'click', ev: MouseEvent): void; }>(); -const url = defaultStore.state.disableShowingAnimatedImages +const url = $computed(() => defaultStore.state.disableShowingAnimatedImages ? getStaticImageUrl(props.user.avatarUrl) - : props.user.avatarUrl; + : props.user.avatarUrl); function onClick(ev: MouseEvent) { emit('click', ev); |