mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-18 23:43:55 +01:00
Always enable pairs from bulk editor
This commit is contained in:
@@ -38,6 +38,7 @@ export function BulkPairEditor({ pairs, onChange, namePlaceholder, valuePlacehol
|
||||
function lineToPair(l: string): PairEditorProps['pairs'][0] {
|
||||
const [name, ...values] = l.split(':');
|
||||
const pair: PairEditorProps['pairs'][0] = {
|
||||
enabled: true,
|
||||
name: (name ?? '').trim(),
|
||||
value: values.join(':').trim(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user