mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-15 05:02:16 +01:00
Fix variables in bulk editor
This commit is contained in:
1 parent
7a941016a9
commit
89ff25cd54
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user