mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:42:02 +08:00
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:
parent
21d6603245
commit
77c48644eb
|
@ -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,
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user