mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 01:38:26 +02: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] {
|
function lineToPair(l: string): PairEditorProps['pairs'][0] {
|
||||||
const [name, ...values] = l.split(':');
|
const [name, ...values] = l.split(':');
|
||||||
const pair: PairEditorProps['pairs'][0] = {
|
const pair: PairEditorProps['pairs'][0] = {
|
||||||
|
enabled: true,
|
||||||
name: (name ?? '').trim(),
|
name: (name ?? '').trim(),
|
||||||
value: values.join(':').trim(),
|
value: values.join(':').trim(),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user