mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
6fa8dafa79
Updates Admin UX for Contributors When logged in as a Contributor: - removes sidebar, added floating account menu and dark-mode switch to right side. Updated mobile menu accordingly - all post by the given user is listed in the Post list - changed post filtering - hides email columns in post list - removes publishmenu for Contributors in Post preview modal - visual tweaks
21 lines
516 B
JavaScript
21 lines
516 B
JavaScript
import Component from '@glimmer/component';
|
|
import {action} from '@ember/object';
|
|
import {schedule} from '@ember/runloop';
|
|
import {inject as service} from '@ember/service';
|
|
import {tracked} from '@glimmer/tracking';
|
|
|
|
export default class GhNavMenuComponent extends Component {
|
|
@service settings;
|
|
@service ui;
|
|
@service session;
|
|
|
|
@tracked firstRender = true;
|
|
|
|
@action
|
|
updateFirstRender() {
|
|
schedule('afterRender', this, () => {
|
|
this.firstRender = false;
|
|
});
|
|
}
|
|
}
|