# How to override \`admin.hbs\`

**URL:** <https://meta.discourse.org/t/how-to-override-admin-hbs/98307>\
**Category:** Development\
**Created:** [9월 28, 2018, 8:59오후 UTC](https://meta.discourse.org/t/how-to-override-admin-hbs/98307 "2018-09-28T20:59:39Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [10월 9, 2018, 4:55오후 UTC](https://meta.discourse.org/t/how-to-override-admin-hbs/98307/7 "2018-10-09T16:55:19Z")

</div>

Update: I’ve managed to get my `api-hide.js.es6` file in a place where it is doing something.

```javascript
// javascripts/initializers/hide-admin-api.js.es6
export default {
  name: 'hide-admin-api',
  initialize: function() {
    withPluginApi('0.8.6', (api) => {
      api.modifyClass('component:nav-item', {
        classNameBindings: ['hidden'],
        @computed('label')
        hidden() {
          return this.label == 'admin.api.title'
        }
      })
    })
  }
}

```

Results in a blank page. I’ve tried stuff like

```plaintext
hidden() {
    return false
}

```

and `api.modifyClass('component:NOT-nav-item'`  
but the whole page is still empty.

Thanks again for your patience.

---

_[View the full topic](https://meta.discourse.org/t/how-to-override-admin-hbs/98307)._
