fix reporting modal
This commit is contained in:
parent
05f25c21e0
commit
a077938f73
7 changed files with 30 additions and 42 deletions
|
|
@ -299,10 +299,12 @@ export const BUTTONS = [
|
|||
label: 'user_card.report',
|
||||
if: ({ loggedIn }) => loggedIn,
|
||||
action({ status }) {
|
||||
return useReportsStore().openUserReportingModal({
|
||||
useReportsStore().openUserReportingModal({
|
||||
userId: status.user.id,
|
||||
statusIds: [status.id],
|
||||
})
|
||||
|
||||
return Promise.resolve()
|
||||
},
|
||||
},
|
||||
].map((button) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue