Skip to content

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

FIX: only show small user list if users has length (#31631)

Krisc1d9887ead9b
diff --git a/app/assets/javascripts/discourse/app/components/small-user-list.gjs b/app/assets/javascripts/discourse/app/components/small-user-list.gjs
index a629a377bfc..63f823bb978 100644
--- a/app/assets/javascripts/discourse/app/components/small-user-list.gjs
+++ b/app/assets/javascripts/discourse/app/components/small-user-list.gjs
@@ -43,7 +43,7 @@ export default class SmallUserList extends Component {
}
get shouldShow() {
- return this.users && this.args.isVisible;
+ return this.users.length && this.args.isVisible;
}
<template>