2017-08-22 10:53:26 +03:00
|
|
|
import Component from '@ember/component';
|
2021-01-28 18:25:21 +03:00
|
|
|
import {match} from '@ember/object/computed';
|
2017-10-30 12:38:01 +03:00
|
|
|
import {inject as service} from '@ember/service';
|
2015-10-28 14:36:45 +03:00
|
|
|
|
2021-01-28 18:25:21 +03:00
|
|
|
export default Component.extend({
|
|
|
|
settings: service(),
|
2019-03-21 20:55:58 +03:00
|
|
|
router: service(),
|
2017-04-19 19:57:56 +03:00
|
|
|
|
2015-05-24 08:47:23 +03:00
|
|
|
tagName: 'nav',
|
|
|
|
classNames: ['gh-nav'],
|
|
|
|
|
2021-01-28 18:25:21 +03:00
|
|
|
isSettingsRoute: match('router.currentRouteName', /^settings/)
|
2015-05-24 08:47:23 +03:00
|
|
|
});
|