chore: minor fixes and improvements

This commit is contained in:
liyasthomas
2021-11-14 20:15:24 +05:30
parent f228f37bb8
commit d383b48916
6 changed files with 46 additions and 2 deletions

View File

@@ -391,6 +391,19 @@ const copyVariablesIcon = ref("copy")
const showSaveRequestModal = ref(false)
watch(
headers,
() => {
if (
(headers.value[headers.value.length - 1]?.key !== "" ||
headers.value[headers.value.length - 1]?.value !== "") &&
headers.value.length
)
addRequestHeader()
},
{ deep: true }
)
const editBulkHeadersLine = (
index: number,
item?: {