Better key name
This commit is contained in:
@ -49,7 +49,7 @@ export default Vue.extend({
|
||||
};
|
||||
},
|
||||
url(): string {
|
||||
return this.$store.state.device.doNotAutoplayAnimation
|
||||
return this.$store.state.device.disableShowingAnimatedImages
|
||||
? getStaticImageUrl(this.user.avatarUrl)
|
||||
: this.user.avatarUrl;
|
||||
},
|
||||
|
@ -55,7 +55,7 @@ export default Vue.extend({
|
||||
const customEmoji = this.customEmojis.find(x => x.name == this.name);
|
||||
if (customEmoji) {
|
||||
this.customEmoji = customEmoji;
|
||||
this.url = this.$store.state.device.doNotAutoplayAnimation
|
||||
this.url = this.$store.state.device.disableShowingAnimatedImages
|
||||
? getStaticImageUrl(customEmoji.url)
|
||||
: customEmoji.url;
|
||||
} else {
|
||||
|
@ -38,7 +38,7 @@ export default Vue.extend({
|
||||
computed: {
|
||||
style(): any {
|
||||
let url = `url(${
|
||||
this.$store.state.device.doNotAutoplayAnimation
|
||||
this.$store.state.device.disableShowingAnimatedImages
|
||||
? getStaticImageUrl(this.image.thumbnailUrl)
|
||||
: this.image.thumbnailUrl
|
||||
})`;
|
||||
|
Reference in New Issue
Block a user