mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
8594126dc9
refs https://github.com/TryGhost/Team/issues/590 - Previous upgrade button behavior was opening up a new browser window leading to now retired billing site. Tha behavior change looks like an oversight we missed to cleanup when introducing an in-admin billing pabe "/pro" - The change follows similar pattern used in other limit check mesages where tha "upgrade" button takes the user to the billing page
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');
|
|
}
|
|
}
|
|
});
|