Skip to content

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

FIX: Make SmallUserList change backwards compatible (#31790)

Ted Johansson599107f89fff
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 63f823bb978..096a5042ad4 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.length && this.args.isVisible;
+ return this.users.length && (this.args.isVisible ?? true);
}
<template>