blueprint tweaks

This commit is contained in:
Westly Wright 2017-03-16 16:36:36 -07:00
parent fe7007d068
commit 05a071fb2c
No known key found for this signature in database
GPG Key ID: 90C6F54EB2513CAE
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,12 @@
import Ember from 'ember';
import ModalBase from 'ui/mixins/modal-base';
// Dont forget to launch your modal from the route/controller/component with the following command.
// this.get('modalService').toggleModal('modal-<%= dasherizedModuleName %>', {
// add your modal options here
// });
export default Ember.Component.extend(ModalBase, {
classNames: [`${<%= size %>}`],
classNames: ['<%= size %>'],
});

View File

@ -6,7 +6,7 @@ module.exports = {
// Return custom template variables here.
return {
// options are large-modal or medium-modal
size: `${options.entity.options.size}` || 'medium-modal'
size: options.entity.options.size || 'medium-modal'
};
}