fix: issue with colour string sanitation

This commit is contained in:
Carlos Valente
2024-11-18 13:00:29 +01:00
committed by Carlos Valente
parent a6e1cbbbce
commit 9a2cfb59e7
@@ -55,7 +55,7 @@ const getURLSearchParamsFromObj = (paramsObj: ViewParamsObj, paramFields: ViewOp
// unfortunately this means we run all the strings through the sanitation
const valueWithoutHash = sanitiseColour(value);
if (defaultValues[id] !== valueWithoutHash) {
handleValueString(id, value);
handleValueString(id, valueWithoutHash);
}
}
});