diff --git a/src/Collection.js b/src/Collection.js index 98fe8e6..0d29703 100644 --- a/src/Collection.js +++ b/src/Collection.js @@ -119,7 +119,7 @@ export default class Collection { */ @action add (data: Array<{ [key: string]: any }>): Array { const models = data.map(d => this.build(d)) - this.models = this.models.concat(models) + this.models.push(...models) return models }