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 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 +
|
||||||
|
|
Loading…
Reference in New Issue