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({
|
2018-01-11 20:43:23 +03:00
|
|
|
'data-test-theme-warnings-modal': true,
|
|
|
|
|
2017-03-14 16:54:58 +03:00
|
|
|
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'),
|
2018-01-11 20:43:23 +03:00
|
|
|
canActivate: reads('model.canActivate')
|
2017-03-14 16:54:58 +03:00
|
|
|
});
|