chore: spell the value-range separator as an escape

The template key in the measurement list carried a literal NUL byte,
which made tools treat the file as binary.
This commit is contained in:
Marc-André Bombeck committed 2026-10-19 16:43:54 +02:00
1 parent 38c106e358
commit d953789ecc
1 file changed
+1 -1
@@ -425,7 +425,7 @@ export function MeasurementList({
// never a history entry per keystroke); an external URL change (back
// button, deep link) re-seeds the draft via the render-phase derived-state
// adjustment below, exactly like the vault's search field.
const urlValueRange = `${filters.valueMin ?? ""}${filters.valueMax ?? ""}`;
const urlValueRange = `${filters.valueMin ?? ""}\u0000${filters.valueMax ?? ""}`;
const [valueDraft, setValueDraft] = useState(() => ({
min: filters.valueMin ?? "",
max: filters.valueMax ?? "",