mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
9ed5aad186
no issue - the upcoming Module Unification re-organisation in Ember will no longer support nested components - this PR pre-emptively moves our usage of nested components into a flat file structure
14 lines
432 B
JavaScript
14 lines
432 B
JavaScript
import ModalComponent from 'ghost-admin/components/modal-base';
|
|
import {reads} from '@ember/object/computed';
|
|
|
|
export default ModalComponent.extend({
|
|
title: reads('model.title'),
|
|
message: reads('model.message'),
|
|
warnings: reads('model.warnings'),
|
|
errors: reads('model.errors'),
|
|
fatalErrors: reads('model.fatalErrors'),
|
|
canActivate: reads('model.canActivate'),
|
|
|
|
'data-test-theme-warnings-modal': true
|
|
});
|