Skip to content

Commit 4bb1a64

Browse files
committed
chore: only check for null
1 parent 669f044 commit 4bb1a64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

framework/core/js/src/forum/components/PostUser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default class PostUser extends Component {
6969
items.add('avatar', avatar(user, { className: 'PostUser-avatar' }), 100);
7070

7171
const onlineIndicator = userOnline(user);
72-
if (onlineIndicator) {
72+
if (onlineIndicator !== null) {
7373
items.add('userOnline', onlineIndicator, 90);
7474
}
7575

0 commit comments

Comments
 (0)