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:
commit
30da915a70
1 changed files with 2 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue