DEV: no services are used in this component (#30439)

This commit is contained in:
Joffrey JAFFEUX 2024-12-23 12:47:53 +01:00 committed by GitHub
parent 5962373ab9
commit c601b4112e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,14 +1,9 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
import concatClass from "discourse/helpers/concat-class";
const MAX_UNREAD_COUNT = 99;
export default class ChatChannelUnreadIndicator extends Component {
@service chat;
@service site;
@service currentUser;
get showUnreadIndicator() {
return (
this.args.channel.tracking.unreadCount +