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
1 changed files with 0 additions and 5 deletions

View File

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