mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 19:45:21 +08:00
11 lines
272 B
JavaScript
11 lines
272 B
JavaScript
|
import { inject as service } from "@ember/service";
|
||
|
import DiscourseRoute from "discourse/routes/discourse";
|
||
|
|
||
|
export default class AdminWhatsNew extends DiscourseRoute {
|
||
|
@service currentUser;
|
||
|
|
||
|
activate() {
|
||
|
this.currentUser.set("has_unseen_features", false);
|
||
|
}
|
||
|
}
|