backup commit
This commit is contained in:
@@ -78,7 +78,9 @@ export default Ember.Mixin.create ApplicationRouteMixin,
|
||||
options = {model: options.content}
|
||||
else if typeof options isnt 'object'
|
||||
options = {model: options}
|
||||
options.model = options.model.content if options.model?.promise? and options.model.content
|
||||
|
||||
# opening a model on an unresolved promise is a bad thing, so we can assume (model) promise content for non paginated arrays as model
|
||||
options.model = options.model.content if options.model?.promise? and options.model.content and not options.model.dunlop_remote_array
|
||||
container = Ember.getOwner(@)
|
||||
|
||||
modalNameParts = modalName.split('/')
|
||||
|
||||
Reference in New Issue
Block a user