refactor: request actions + fix: timeout bug

This commit is contained in:
Liyas Thomas
2021-05-12 05:33:15 +00:00
committed by GitHub
parent dd3b51d0b7
commit 2ff0f97295
10 changed files with 128 additions and 102 deletions

View File

@@ -97,6 +97,7 @@
})
"
@expand-collection="expandCollection"
@remove-request="removeRequest"
/>
</li>
</ul>
@@ -123,6 +124,7 @@
reqIdx: $event.idx,
})
"
@remove-request="removeRequest"
/>
</li>
</ul>
@@ -203,6 +205,13 @@ export default {
expandCollection(collectionID) {
this.$emit("expand-collection", collectionID)
},
removeRequest({ collectionIndex, folderName, requestIndex }) {
this.$emit("remove-request", {
collectionIndex,
folderName,
requestIndex,
})
},
},
}
</script>