refactor: network strategy rewrite

This commit is contained in:
Andrew Bastin
2021-12-12 16:40:34 +05:30
parent 75e34feabf
commit 0ffc9e3a4d
10 changed files with 357 additions and 284 deletions

View File

@@ -138,7 +138,8 @@ const props = defineProps<{
const statusCategory = computed(() => {
if (
props.response.type === "loading" ||
props.response.type === "network_fail"
props.response.type === "network_fail" ||
props.response.type === "script_fail"
)
return ""
return findStatusGroup(props.response.statusCode)