mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
598a327d6e
no issue - members screens will be undergoing heavy development to change how underlying data loading works - duplicated all related screens and components so that development can occur behind the `enableDeveloperExperiments` flag without breaking the existing screens - added "Members (dev)" link to the duplicate screens in nav bar when `enableDeveloperExperiments` is on
20 lines
491 B
JavaScript
20 lines
491 B
JavaScript
import Controller from '@ember/controller';
|
|
import {inject as controller} from '@ember/controller';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
/* eslint-disable ghost/ember/alias-model-in-controller */
|
|
export default Controller.extend({
|
|
members: controller(),
|
|
router: service(),
|
|
|
|
actions: {
|
|
fetchNewMembers() {
|
|
this.members.fetchMembers.perform();
|
|
},
|
|
|
|
close() {
|
|
this.router.transitionTo('members-dev');
|
|
}
|
|
}
|
|
});
|