2017-09-11 10:41:17 +03:00
|
|
|
import ModalComponent from 'ghost-admin/components/modal-base';
|
2017-08-22 10:53:26 +03:00
|
|
|
import {reads} from '@ember/object/computed';
|
2017-03-14 16:54:58 +03:00
|
|
|
|
|
|
|
export default ModalComponent.extend({
|
|
|
|
title: reads('model.title'),
|
|
|
|
message: reads('model.message'),
|
|
|
|
warnings: reads('model.warnings'),
|
2017-06-22 20:19:01 +03:00
|
|
|
errors: reads('model.errors'),
|
|
|
|
fatalErrors: reads('model.fatalErrors'),
|
2021-06-18 12:12:36 +03:00
|
|
|
canActivate: reads('model.canActivate'),
|
|
|
|
|
|
|
|
actions: {
|
|
|
|
confirm() {
|
|
|
|
this.send('closeModal');
|
|
|
|
}
|
|
|
|
}
|
2017-03-14 16:54:58 +03:00
|
|
|
});
|