From e07828559dae85a1b8d6dab574422367bbcecb55 Mon Sep 17 00:00:00 2001 From: hudson-newey Date: Thu, 28 Nov 2024 09:17:45 +1000 Subject: [PATCH] Fix applying persistant case-converted properties Fixes: #2177 --- src/app/models/AbstractModel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */