FIX: Dismissing unread topics with a tag (#11832)

This commits add missing router service to the mixin. It did not work
because 'router' was undefined.
This commit is contained in:
Dan Ungureanu 2021-01-25 15:16:21 +02:00 committed by GitHub
parent 21d6603245
commit 77c48644eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,11 @@ import { NotificationLevels } from "discourse/lib/notification-levels";
import Topic from "discourse/models/topic";
import { alias } from "@ember/object/computed";
import { on } from "discourse-common/utils/decorators";
import { inject as service } from "@ember/service";
export default Mixin.create({
router: service(),
bulkSelectEnabled: false,
selected: null,