From 81dc9a2511d0c2ac9785002eccee4ccdf5b1e179 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 23 Jul 2024 16:24:19 -0400 Subject: [PATCH] Fixing modlog filtering to allow admins and mods to filter by mod. (#2629) - Fixes #2590 Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com> --- src/shared/components/modlog.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/shared/components/modlog.tsx b/src/shared/components/modlog.tsx index d055fbbd..aa542764 100644 --- a/src/shared/components/modlog.tsx +++ b/src/shared/components/modlog.tsx @@ -907,8 +907,9 @@ export class Modlog extends Component { 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) && (