2016-06-30 21:14:25 +03:00
|
|
|
import $ from 'jquery';
|
2017-08-22 10:53:26 +03:00
|
|
|
import Component from '@ember/component';
|
2015-10-28 14:36:45 +03:00
|
|
|
|
|
|
|
export default Component.extend({
|
2015-06-13 17:34:09 +03:00
|
|
|
classNames: ['gh-app'],
|
|
|
|
|
|
|
|
showSettingsMenu: false,
|
|
|
|
|
2017-08-14 15:30:00 +03:00
|
|
|
didReceiveAttrs() {
|
|
|
|
this._super(...arguments);
|
2019-03-06 16:53:54 +03:00
|
|
|
let showSettingsMenu = this.showSettingsMenu;
|
2015-06-13 17:34:09 +03:00
|
|
|
|
2016-06-11 19:52:36 +03:00
|
|
|
$('body').toggleClass('settings-menu-expanded', showSettingsMenu);
|
2017-08-14 15:30:00 +03:00
|
|
|
}
|
2015-06-13 17:34:09 +03:00
|
|
|
});
|