mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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 Topic from "discourse/models/topic";
|
||||||
import { alias } from "@ember/object/computed";
|
import { alias } from "@ember/object/computed";
|
||||||
import { on } from "discourse-common/utils/decorators";
|
import { on } from "discourse-common/utils/decorators";
|
||||||
|
import { inject as service } from "@ember/service";
|
||||||
|
|
||||||
export default Mixin.create({
|
export default Mixin.create({
|
||||||
|
router: service(),
|
||||||
|
|
||||||
bulkSelectEnabled: false,
|
bulkSelectEnabled: false,
|
||||||
selected: null,
|
selected: null,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user