mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 1997: fix(filter-input.to-record-mapping): Removed " from InputType NumberRange map...
fix(filter-input.to-record-mapping): Removed " from InputType NumberRange mapping Ref: #5425
This commit is contained in:
committed by
Lorenz Hilpert
parent
f175b5d2af
commit
7894c7b768
@@ -53,11 +53,11 @@ export function mapFilterInputToRecord(
|
||||
} else if (input.type === InputType.NumberRange) {
|
||||
const { min, max } = input;
|
||||
if (min && max) {
|
||||
acc[input.key] = `"${min}-${max}"`;
|
||||
acc[input.key] = `${min}-${max}`;
|
||||
} else if (min) {
|
||||
acc[input.key] = `"${min}-"`;
|
||||
acc[input.key] = `${min}-`;
|
||||
} else if (max) {
|
||||
acc[input.key] = `"-${max}"`;
|
||||
acc[input.key] = `-${max}`;
|
||||
}
|
||||
}
|
||||
return acc;
|
||||
|
||||
Reference in New Issue
Block a user