mirror of
https://github.com/discourse/discourse.git
synced 2024-12-10 10:53:44 +08:00
ebbe23e4d2
Followup e60b808f49
,
I missed adding it here.
16 lines
386 B
JavaScript
16 lines
386 B
JavaScript
import { inject as service } from "@ember/service";
|
|
import DiscourseRoute from "discourse/routes/discourse";
|
|
import I18n from "discourse-i18n";
|
|
|
|
export default class AdminWhatsNew extends DiscourseRoute {
|
|
@service currentUser;
|
|
|
|
titleToken() {
|
|
return I18n.t("admin.dashboard.new_features.title");
|
|
}
|
|
|
|
activate() {
|
|
this.currentUser.set("has_unseen_features", false);
|
|
}
|
|
}
|