mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-21 23:43:15 +01: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') {
|
||||
itemToSave.request.body.json = replaceTabsWithSpaces(itemToSave.request.body.json);
|
||||
itemToSave.request.body = {
|
||||
...itemToSave.request.body,
|
||||
json: replaceTabsWithSpaces(itemToSave.request.body.json)
|
||||
};
|
||||
}
|
||||
|
||||
return itemToSave;
|
||||
|
Loading…
Reference in New Issue
Block a user