fix: formdata inconsistencies

This commit is contained in:
Andrew Bastin
2021-12-04 19:47:57 +05:30
parent 88cc21e3d4
commit 4a43807f34
2 changed files with 9 additions and 2 deletions

View File

@@ -287,7 +287,12 @@ export function toggleGraphqlHistoryEntryStar(entry: GQLHistoryEntry) {
// Listen to completed responses to add to history
completedRESTResponse$.subscribe((res) => {
if (res !== null) {
if (res.type === "loading" || res.type === "network_fail") return
if (
res.type === "loading" ||
res.type === "network_fail" ||
res.type === "script_fail"
)
return
addRESTHistoryEntry(
makeRESTHistoryEntry({