Ghost/ghost/admin/app/components/gh-nav-menu.js

14 lines
342 B
JavaScript
Raw Normal View History

import Component from '@ember/component';
import {match} from '@ember/object/computed';
import {inject as service} from '@ember/service';
export default Component.extend({
settings: service(),
router: service(),
2015-05-24 08:47:23 +03:00
tagName: 'nav',
classNames: ['gh-nav'],
isSettingsRoute: match('router.currentRouteName', /^settings/)
2015-05-24 08:47:23 +03:00
});