mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
48e3bf003d
no issue - https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/order-in-components.md - https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/order-in-controllers.md - https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/order-in-routes.md
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({
|
|
'data-test-theme-warnings-modal': true,
|
|
|
|
title: reads('model.title'),
|
|
message: reads('model.message'),
|
|
warnings: reads('model.warnings'),
|
|
errors: reads('model.errors'),
|
|
fatalErrors: reads('model.fatalErrors'),
|
|
canActivate: reads('model.canActivate')
|
|
});
|