discourse-subscriptions/assets/javascripts/discourse/controllers/s-index.js.es6

11 lines
265 B
JavaScript

import Controller from "@ember/controller";
import discourseComputed from "discourse-common/utils/decorators";
import User from "discourse/models/user";
export default Controller.extend({
@discourseComputed()
isLoggedIn() {
return User.current();
},
});