diff --git a/app/assets/javascripts/discourse/components/site-header.js.es6 b/app/assets/javascripts/discourse/components/site-header.js.es6 index bf66453c67f..9285f5355b8 100644 --- a/app/assets/javascripts/discourse/components/site-header.js.es6 +++ b/app/assets/javascripts/discourse/components/site-header.js.es6 @@ -47,6 +47,12 @@ const SiteHeaderComponent = MountWidget.extend(Docking, { this.queueRerender(); }, + willRender() { + if (this.get('currentUser.staff')) { + $('body').addClass('staff'); + } + }, + didInsertElement() { this._super(); $(window).on('resize.discourse-menu-panel', () => this.afterRender());