diff --git a/src/app/models/AbstractModel.ts b/src/app/models/AbstractModel.ts index 57f4f203d..8cad6f902 100644 --- a/src/app/models/AbstractModel.ts +++ b/src/app/models/AbstractModel.ts @@ -30,7 +30,7 @@ export abstract class AbstractModelWithoutId> { return acc; }, {}); - Object.assign(this, transformedRaw, raw); + Object.assign(this, raw, transformedRaw); } /** Keys for accessing hidden data associated with a model */