Skip to content

Commit

Permalink
Fix applying persistant case-converted properties
Browse files Browse the repository at this point in the history
Fixes: #2177
  • Loading branch information
hudson-newey committed Nov 27, 2024
1 parent 96ce19c commit e078285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/models/AbstractModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export abstract class AbstractModelWithoutId<Model = Record<string, any>> {
return acc;
}, {});

Object.assign(this, transformedRaw, raw);
Object.assign(this, raw, transformedRaw);
}

/** Keys for accessing hidden data associated with a model */
Expand Down

0 comments on commit e078285

Please sign in to comment.