mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
Remove the ScrollTop
Mixin
This commit is contained in:
@ -65,9 +65,7 @@ export default function() {
|
||||
|
||||
this.get('/users/eviltrout.json', () => {
|
||||
const json = fixturesByUrl['/users/eviltrout.json'];
|
||||
if (loggedIn()) {
|
||||
json.user.can_edit = true;
|
||||
}
|
||||
json.user.can_edit = loggedIn();
|
||||
return response(json);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user