Fix variables in bulk editor

This commit is contained in:
Gregory Schier
2024-10-02 05:10:34 -07:00
parent 7a941016a9
commit 89ff25cd54

View File

@@ -43,7 +43,7 @@ export function BulkPairEditor({
}
function lineToPair(line: string): PairEditorProps['pairs'][0] {
const [, name, value] = line.match(/^(:?[^:]+):\s+([^$]*)/) ?? [];
const [, name, value] = line.match(/^(:?[^:]+):\s+(.*)$/) ?? [];
const pair: PairEditorProps['pairs'][0] = {
enabled: true,