mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Remove the ScrollTop
Mixin
This commit is contained in:
parent
0904ad5537
commit
a94f06ff78
20 changed files with 77 additions and 95 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue