biome format --write

This commit is contained in:
Henry Jameson 2026-01-06 16:22:52 +02:00
commit 9262e803ec
415 changed files with 54076 additions and 17419 deletions

View file

@ -6,32 +6,38 @@ import RichContent from 'src/components/rich_content/rich_content.jsx'
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
const Report = {
props: [
'reportId'
],
props: ['reportId'],
components: {
Select,
StatusContent,
Timeago,
RichContent
RichContent,
},
computed: {
report () {
report() {
return useReportsStore().reports[this.reportId] || {}
},
state: {
get: function () { return this.report.state },
set: function (val) { this.setReportState(val) }
}
get: function () {
return this.report.state
},
set: function (val) {
this.setReportState(val)
},
},
},
methods: {
generateUserProfileLink (user) {
return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames)
generateUserProfileLink(user) {
return generateProfileLink(
user.id,
user.screen_name,
this.$store.state.instance.restrictedNicknames,
)
},
setReportState (state) {
setReportState(state) {
return useReportsStore().setReportState({ id: this.report.id, state })
}
}
},
},
}
export default Report