mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
Link to category admin UI from space settings
Shortcut for better UX
This commit is contained in:
parent
92f8fe550e
commit
fcd95cf415
2 changed files with 13 additions and 10 deletions
|
@ -14,6 +14,7 @@ import NotifierMixin from '../../../mixins/notifier';
|
|||
import Controller from '@ember/controller';
|
||||
|
||||
export default Controller.extend(NotifierMixin, {
|
||||
router: service(),
|
||||
folderService: service('folder'),
|
||||
localStorage: service('localStorage'),
|
||||
tab: 'general',
|
||||
|
@ -23,6 +24,10 @@ export default Controller.extend(NotifierMixin, {
|
|||
this.set('tab', view);
|
||||
},
|
||||
|
||||
onCategories() {
|
||||
this.get('router').transitionTo('folder.category');
|
||||
},
|
||||
|
||||
onRefresh() {
|
||||
this.get('target._routerMicrolib').refresh();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue