add withReblogs & fix reporting modal
This commit is contained in:
parent
75e32d1386
commit
05f25c21e0
5 changed files with 27 additions and 37 deletions
|
|
@ -26,7 +26,7 @@
|
|||
}
|
||||
|
||||
&.-admin-view {
|
||||
.godmode {
|
||||
.filter {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ const UserProfileAdminView = {
|
|||
return {
|
||||
userId: null,
|
||||
godmode: false,
|
||||
showReblogs: false,
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
|
@ -38,7 +39,7 @@ const UserProfileAdminView = {
|
|||
pageSize: 20,
|
||||
godmode: this.godmode,
|
||||
id: this.userId,
|
||||
withReblogs: false,
|
||||
withReblogs: this.showReblogs,
|
||||
}
|
||||
},
|
||||
user() {
|
||||
|
|
|
|||
|
|
@ -12,19 +12,28 @@
|
|||
/>
|
||||
<Checkbox
|
||||
v-model="godmode"
|
||||
class="godmode"
|
||||
class="filter"
|
||||
>
|
||||
{{ $t('admin_dash.users.godmode') }}
|
||||
{{ $t('admin_dash.users.filters.show_direct') }}
|
||||
</Checkbox>
|
||||
<Checkbox
|
||||
v-model="showReblogs"
|
||||
class="filter"
|
||||
>
|
||||
{{ $t('admin_dash.users.filters.show_reblogs') }}
|
||||
</Checkbox>
|
||||
</div>
|
||||
<List
|
||||
ref="list"
|
||||
:fetch-function="fetchStatuses"
|
||||
scrollable
|
||||
@select="onSelect"
|
||||
>
|
||||
<template #item="{item}">
|
||||
<Status :statusoid="item" />
|
||||
<Status
|
||||
:statusoid="item"
|
||||
:in-conversation="false"
|
||||
:focused="false"
|
||||
/>
|
||||
</template>
|
||||
</List>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue