mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-11 20:37:54 +03:00
chore: do not render post data if there is none (#31008)
Fixes https://github.com/microsoft/playwright/issues/30992
This commit is contained in:
parent
9884c851ff
commit
bff1e41add
@ -69,6 +69,8 @@ const RequestTab: React.FunctionComponent<{
|
||||
} else {
|
||||
setRequestBody({ text: formatBody(resource.request.postData.text, requestContentType), language });
|
||||
}
|
||||
} else {
|
||||
setRequestBody(null);
|
||||
}
|
||||
};
|
||||
readResources();
|
||||
|
Loading…
Reference in New Issue
Block a user