Skip to content

Commit

Permalink
fix(frontend): データセーバーを有効にしているときにメンションのアイコンがアニメーションしないように
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective authored Oct 3, 2024
1 parent 1074d62 commit a94fcd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/MkMention.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const bg = tinycolor(getComputedStyle(document.documentElement).getPropertyValue
bg.setAlpha(0.1);
const bgCss = bg.toRgbString();

const avatarUrl = computed(() => defaultStore.state.disableShowingAnimatedImages
const avatarUrl = computed(() => defaultStore.state.disableShowingAnimatedImages || defaultStore.state.dataSaver.avatar
? getStaticImageUrl(`/avatar/@${props.username}@${props.host}`)
: `/avatar/@${props.username}@${props.host}`,
);
Expand Down

0 comments on commit a94fcd0

Please sign in to comment.