diff --git a/app/services/modal-dialog.js b/app/services/modal-dialog.js index 5679ef58..54b13076 100644 --- a/app/services/modal-dialog.js +++ b/app/services/modal-dialog.js @@ -1,7 +1,8 @@ -import { computed } from '@ember/object'; -import Service from '@ember/service'; +import Ember from 'ember'; import ENV from '../config/environment'; +const { computed, Service } = Ember; + function computedFromConfig(prop) { return computed(function(){ return ENV['ember-modal-dialog'] && ENV['ember-modal-dialog'][prop];