mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
3b7cbaef05
refs https://github.com/TryGhost/Team/issues/599 - Previously user received genetic limit error after putting in integration name and clicking "create" button. This created a little frustrating experience. - The updated flow does the check before loading the integration modal, so the user receives communication about needed upgrade before doing any work
13 lines
289 B
JavaScript
13 lines
289 B
JavaScript
import ModalComponent from 'ghost-admin/components/modal-base';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default ModalComponent.extend({
|
|
router: service(),
|
|
|
|
actions: {
|
|
upgrade: function () {
|
|
this.router.transitionTo('pro');
|
|
}
|
|
}
|
|
});
|