Skip to content

A platform for community discussion. Free, open, simple.

FIX: review-insights have a 404 dialog for category moderators (#36953)

small-lovely-catbc7ac06b8da2
diff --git a/frontend/discourse/app/components/reviewable-refresh/ip-lookup.gjs b/frontend/discourse/app/components/reviewable-refresh/ip-lookup.gjs
index 37023e236dc..28699dd8f4c 100644
--- a/frontend/discourse/app/components/reviewable-refresh/ip-lookup.gjs
+++ b/frontend/discourse/app/components/reviewable-refresh/ip-lookup.gjs
@@ -60,7 +60,7 @@ export default class ReviewableIpLookup extends Component {
@action
async loadIpData() {
- if (!this.target) {
+ if (!this.currentUser.staff || !this.target) {
this.loading = false;
return;
}