From c601b4112ec3a363317ea5f33f288ba911d1dc22 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 23 Dec 2024 12:47:53 +0100 Subject: [PATCH] DEV: no services are used in this component (#30439) --- .../discourse/components/chat-channel-unread-indicator.gjs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-channel-unread-indicator.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-channel-unread-indicator.gjs index e8fc3cff002..9aeaeaa1481 100644 --- a/plugins/chat/assets/javascripts/discourse/components/chat-channel-unread-indicator.gjs +++ b/plugins/chat/assets/javascripts/discourse/components/chat-channel-unread-indicator.gjs @@ -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 +