diff --git a/packages/bruno-app/src/utils/collections/index.js b/packages/bruno-app/src/utils/collections/index.js index 216d74a4de..cbddc8b618 100644 --- a/packages/bruno-app/src/utils/collections/index.js +++ b/packages/bruno-app/src/utils/collections/index.js @@ -380,7 +380,7 @@ export const transformRequestToSaveToFilesystem = (item) => { uid: _item.uid, type: _item.type, name: _item.name, - seq: _item.seq, + seq: item.seq, request: { method: _item.request.method, url: _item.request.url, @@ -540,6 +540,8 @@ export const areItemsTheSameExceptSeqUpdate = (_item1, _item2) => { let item1 = cloneDeep(_item1); let item2 = cloneDeep(_item2); + if (item1.seq === item2.seq) return false; + // remove seq from both items delete item1.seq; delete item2.seq;