mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-22 07:53:34 +01:00
Shorten method name for OPTIONS and DELETE (#588)
This commit is contained in:
parent
c7f0335d96
commit
caa0a22e74
@ -23,7 +23,9 @@ const RequestMethod = ({ item }) => {
|
|||||||
return (
|
return (
|
||||||
<StyledWrapper>
|
<StyledWrapper>
|
||||||
<div className={getClassname(item.request.method)}>
|
<div className={getClassname(item.request.method)}>
|
||||||
<span className="uppercase">{item.request.method}</span>
|
<span className="uppercase">
|
||||||
|
{item.request.method.length > 5 ? item.request.method.substring(0, 3) : item.request.method}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</StyledWrapper>
|
</StyledWrapper>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user