mirror of
https://github.com/discourse/discourse.git
synced 2024-12-29 19:33:45 +08:00
DEV: no services are used in this component (#30439)
This commit is contained in:
parent
5962373ab9
commit
c601b4112e
|
@ -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 +
|
||||
|
|
Loading…
Reference in New Issue
Block a user