fix: snapping when user typing in bulk editor with empty lines in between
This commit is contained in:
parent
ca131697b6
commit
9454a983da
1 changed files with 3 additions and 0 deletions
|
|
@ -252,6 +252,9 @@ watch(bulkHeaders, () => {
|
|||
}
|
||||
})
|
||||
watch(workingHeaders, (newHeadersList) => {
|
||||
// If we are in bulk mode, don't apply direct changes
|
||||
if (bulkMode.value) return
|
||||
|
||||
try {
|
||||
const currentBulkHeaders = bulkHeaders.value.split("\n").map((item) => ({
|
||||
key: item.substring(0, item.indexOf(":")).trimLeft().replace(/^\/\//, ""),
|
||||
|
|
|
|||
Loading…
Reference in a new issue