2019-10-23 12:30:52 -04:00
|
|
|
import Component from "@ember/component";
|
|
|
|
export default Component.extend({
|
2017-05-04 15:13:32 -04:00
|
|
|
didInsertElement() {
|
2019-01-19 04:05:51 -05:00
|
|
|
this._super(...arguments);
|
2021-03-21 20:36:26 -04:00
|
|
|
document.querySelector("html").classList.add("admin-area");
|
|
|
|
document.querySelector("body").classList.add("admin-interface");
|
2017-05-04 15:13:32 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
willDestroyElement() {
|
2019-01-19 04:05:51 -05:00
|
|
|
this._super(...arguments);
|
2021-03-21 20:36:26 -04:00
|
|
|
document.querySelector("html").classList.remove("admin-area");
|
|
|
|
document.querySelector("body").classList.remove("admin-interface");
|
2017-05-04 15:13:32 -04:00
|
|
|
},
|
|
|
|
});
|