From 799d5f11d66240e0a97a05528bf8130cad091a2f Mon Sep 17 00:00:00 2001 From: Sol Dubock <94075844+sjd210@users.noreply.github.com> Date: Tue, 26 Nov 2024 11:32:19 +0000 Subject: [PATCH] Add charge and hydrate to statement response log --- src/models/common.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/models/common.ts b/src/models/common.ts index ff07edc..e880e0c 100644 --- a/src/models/common.ts +++ b/src/models/common.ts @@ -61,6 +61,8 @@ export function mergeResponses(response1: CheckerResponse, response2: CheckerRes newResponse.sameCoefficient = response1.sameCoefficient && response2.sameCoefficient; newResponse.sameElements = response1.sameElements && response2.sameElements; if (!response1.isNuclear) { + newResponse.sameCharge = response1.sameCharge && response2.sameCharge; + newResponse.sameHydrate = response1.sameHydrate && response2.sameHydrate; newResponse.sameState = response1.sameState && response2.sameState; newResponse.sameBrackets = response1.sameBrackets && response2.sameBrackets; } else {