Always enable pairs from bulk editor

This commit is contained in:
Gregory Schier
2024-07-30 15:35:06 -07:00
parent 86856e3506
commit 3dfb435386

View File

@@ -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(),
};