diff --git a/src/components/status/status.js b/src/components/status/status.js index 0107bde3c..01d7facfc 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -131,40 +131,41 @@ const Status = { Quote: defineAsyncComponent(() => import('src/components/quote/quote.vue')), StatusActionButtons, }, - props: [ - 'statusoid', - 'replies', + props: { + statusoid: Object, + replies: Array, - 'expandable', - 'focused', - 'highlight', - 'compact', - 'isPreview', - 'noHeading', - 'inlineExpanded', - 'showPinned', - 'inProfile', - 'inConversation', - 'inQuote', - 'profileUserId', - 'simpleTree', - 'showOtherRepliesAsButton', - 'dive', - 'ignoreMute', + expandable: Boolean, + focused: Boolean, + highlight: Boolean, + compact: Boolean, + isPreview: Boolean, + noHeading: Boolean, + inlineExpanded: Boolean, + showPinned: Boolean, + inProfile: Boolean, + inConversation: Boolean, + inQuote: Boolean, - 'controlledThreadDisplayStatus', - 'controlledToggleThreadDisplay', - 'controlledShowingTall', - 'controlledToggleShowingTall', - 'controlledExpandingSubject', - 'controlledToggleExpandingSubject', - 'controlledShowingLongSubject', - 'controlledToggleShowingLongSubject', - 'controlledReplying', - 'controlledToggleReplying', - 'controlledMediaPlaying', - 'controlledSetMediaPlaying', - ], + profileUserId: String, + simpleTree: Boolean, + showOtherRepliesAsButton: Boolean, + dive: Function, + ignoreMute: Boolean, + + controlledThreadDisplayStatus: String, + controlledToggleThreadDisplay: Function, + controlledShowingTall: Boolean, + controlledToggleShowingTall: Function, + controlledExpandingSubject: Boolean, + controlledToggleExpandingSubject: Function, + controlledShowingLongSubject: Boolean, + controlledToggleShowingLongSubject: Function, + controlledReplying: Boolean, + controlledToggleReplying: Function, + controlledMediaPlaying: Boolean, + controlledSetMediaPlaying: Function, + }, emits: ['goto', 'toggleExpanded'], data() { return { diff --git a/src/components/user_profile/user_profile_admin_view.vue b/src/components/user_profile/user_profile_admin_view.vue index 7e57aae5a..e5118f474 100644 --- a/src/components/user_profile/user_profile_admin_view.vue +++ b/src/components/user_profile/user_profile_admin_view.vue @@ -33,6 +33,7 @@ :statusoid="item" :in-conversation="false" :focused="false" + ignore-mute />