2021-10-04 14:57:08 +03:00
|
|
|
import Component from '@glimmer/component';
|
2022-01-22 03:05:05 +03:00
|
|
|
import {action} from '@ember/object';
|
|
|
|
import {schedule} from '@ember/runloop';
|
2017-10-30 12:38:01 +03:00
|
|
|
import {inject as service} from '@ember/service';
|
2021-10-20 15:04:05 +03:00
|
|
|
import {tracked} from '@glimmer/tracking';
|
2015-10-28 14:36:45 +03:00
|
|
|
|
2021-10-04 14:57:08 +03:00
|
|
|
export default class GhNavMenuComponent extends Component {
|
|
|
|
@service settings;
|
2021-10-11 17:24:46 +03:00
|
|
|
@service ui;
|
2022-02-01 20:59:20 +03:00
|
|
|
@service session;
|
2021-10-20 15:04:05 +03:00
|
|
|
|
|
|
|
@tracked firstRender = true;
|
2022-01-22 03:05:05 +03:00
|
|
|
|
|
|
|
@action
|
|
|
|
updateFirstRender() {
|
|
|
|
schedule('afterRender', this, () => {
|
|
|
|
this.firstRender = false;
|
|
|
|
});
|
|
|
|
}
|
2021-10-04 14:57:08 +03:00
|
|
|
}
|