mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
parent
763bd1f0e2
commit
bc49041359
8 changed files with 623 additions and 623 deletions
|
@ -42,10 +42,6 @@ export default Ember.Service.extend({
|
|||
content: Ember.A([])
|
||||
});
|
||||
|
||||
if (isObject(response)) {
|
||||
return documents;
|
||||
}
|
||||
|
||||
documents = response.map((doc) => {
|
||||
let data = this.get('store').normalize('document', doc);
|
||||
return this.get('store').push(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue