mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-21 20:41:41 +02:00
fix: save button on confirm close popup not working (#2156)
This commit is contained in:
parent
c17e4effe7
commit
23704a0800
@ -417,7 +417,10 @@ export const transformRequestToSaveToFilesystem = (item) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (itemToSave.request.body.mode === 'json') {
|
if (itemToSave.request.body.mode === 'json') {
|
||||||
itemToSave.request.body.json = replaceTabsWithSpaces(itemToSave.request.body.json);
|
itemToSave.request.body = {
|
||||||
|
...itemToSave.request.body,
|
||||||
|
json: replaceTabsWithSpaces(itemToSave.request.body.json)
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
return itemToSave;
|
return itemToSave;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user