mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-29 03:13:45 +01:00
fix #961 by using trim
This commit is contained in:
parent
f617504cd6
commit
fff6870002
@ -34,7 +34,7 @@ const QueryUrl = ({ item, collection, handleRun }) => {
|
||||
requestUrlChanged({
|
||||
itemUid: item.uid,
|
||||
collectionUid: collection.uid,
|
||||
url: value
|
||||
url: value.trim()
|
||||
})
|
||||
);
|
||||
};
|
||||
@ -80,7 +80,7 @@ const QueryUrl = ({ item, collection, handleRun }) => {
|
||||
}}
|
||||
>
|
||||
<IconDeviceFloppy
|
||||
color={item.draft ? theme.colors.text.yellow : theme.requestTabs.icon.color}
|
||||
color={item.draft ? theme.colors.text.purple : theme.requestTabs.icon.color}
|
||||
strokeWidth={1.5}
|
||||
size={22}
|
||||
className={`${item.draft ? 'cursor-pointer' : 'cursor-default'}`}
|
||||
|
Loading…
Reference in New Issue
Block a user