mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +03:00
04d9caefed
no issue
Updated settings navigation to a completely redesigned flow for Ghost 4.0 🎉
Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
Co-authored-by: Fabien O'Carroll <fabien@allou.is>
Co-authored-by: Rish <zrishabhgarg@gmail.com>
14 lines
342 B
JavaScript
14 lines
342 B
JavaScript
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(),
|
|
|
|
tagName: 'nav',
|
|
classNames: ['gh-nav'],
|
|
|
|
isSettingsRoute: match('router.currentRouteName', /^settings/)
|
|
});
|