diff --git a/src/App.js b/src/App.js index 36df2d84e..a24ff4255 100644 --- a/src/App.js +++ b/src/App.js @@ -150,7 +150,10 @@ export default { return this.currentUser.background_image }, foreignProfileBackground() { - return useMergedConfigStore().mergedConfig.allowForeignUserBackground && useInterfaceStore().foreignProfileBackground + return ( + useMergedConfigStore().mergedConfig.allowForeignUserBackground && + useInterfaceStore().foreignProfileBackground + ) }, instanceBackground() { return useMergedConfigStore().mergedConfig.hideInstanceWallpaper @@ -158,7 +161,11 @@ export default { : this.instanceBackgroundUrl }, background() { - return this.foreignProfileBackground || this.userBackground || this.instanceBackground + return ( + this.foreignProfileBackground || + this.userBackground || + this.instanceBackground + ) }, bgStyle() { if (this.background) { diff --git a/src/components/status_action_buttons/action_button_container.vue b/src/components/status_action_buttons/action_button_container.vue index 348b158a7..da0beed79 100644 --- a/src/components/status_action_buttons/action_button_container.vue +++ b/src/components/status_action_buttons/action_button_container.vue @@ -79,7 +79,7 @@ :button="button" :status="status" v-bind="$attrs" - @emojiPickerShown="e => $emit('emojiPickerShown', e)" + @emoji-picker-shown="e => $emit('emojiPickerShown', e)" />