mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-08 09:34:16 +00:00
Fixing modlog filtering to allow admins and mods to filter by mod.
- Fixes #2590
This commit is contained in:
parent
4a65fd888d
commit
e4668362c0
|
@ -907,8 +907,9 @@ export class Modlog extends Component<ModlogRouteProps, ModlogState> {
|
|||
options={userSearchOptions}
|
||||
loading={loadingUserSearch}
|
||||
/>
|
||||
{!this.isoData.site_res.site_view.local_site
|
||||
.hide_modlog_mod_names && (
|
||||
{(this.amAdminOrMod ||
|
||||
!this.isoData.site_res.site_view.local_site
|
||||
.hide_modlog_mod_names) && (
|
||||
<Filter
|
||||
filterType="mod"
|
||||
onChange={this.handleModChange}
|
||||
|
|
Loading…
Reference in a new issue