mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 06:59:09 +00:00
fix: issue with colour string sanitation
This commit is contained in:
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
|
// unfortunately this means we run all the strings through the sanitation
|
||||||
const valueWithoutHash = sanitiseColour(value);
|
const valueWithoutHash = sanitiseColour(value);
|
||||||
if (defaultValues[id] !== valueWithoutHash) {
|
if (defaultValues[id] !== valueWithoutHash) {
|
||||||
handleValueString(id, value);
|
handleValueString(id, valueWithoutHash);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user