0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Merge pull request #5754 from cobbspur/flowstep3

Prevent setup loop on step 3
This commit is contained in:
Hannah Wolfe 2015-08-28 17:38:23 +01:00
commit 30da915a70

View file

@ -176,13 +176,11 @@ export default Ember.Controller.extend({
if (successCount > 0) {
// pluralize
invitationsString = successCount > 1 ? 'invitations' : 'invitation';
notifications.showAlert(successCount + ' ' + invitationsString + ' sent!', {type: 'success', delayed: true});
self.send('loadServerNotifications');
self.transitionToRoute('posts.index');
}
self.send('loadServerNotifications');
self.toggleProperty('submitting');
self.transitionToRoute('posts.index');
});
});
} else if (users.length === 0) {