mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-06-29 05:16:24 +02:00
Fix variables in bulk editor
This commit is contained in:
@@ -43,7 +43,7 @@ export function BulkPairEditor({
|
|||||||
}
|
}
|
||||||
|
|
||||||
function lineToPair(line: string): PairEditorProps['pairs'][0] {
|
function lineToPair(line: string): PairEditorProps['pairs'][0] {
|
||||||
const [, name, value] = line.match(/^(:?[^:]+):\s+([^$]*)/) ?? [];
|
const [, name, value] = line.match(/^(:?[^:]+):\s+(.*)$/) ?? [];
|
||||||
|
|
||||||
const pair: PairEditorProps['pairs'][0] = {
|
const pair: PairEditorProps['pairs'][0] = {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user