uat defect 129

This commit is contained in:
2025-01-15 09:19:57 +00:00
parent d0075d6112
commit 9c2519f2ce
+15 -1
View File
@@ -1270,7 +1270,21 @@ export const getAllProgressBlobs = async (containerName) => {
// "\n////////////////////////////"
// );
return blobObj;
function removeDuplicates(arr) {
const unique = arr.filter(
(value, index, self) =>
index ===
self.findIndex(
(t) =>
t.name === value.name // Change 'id' to the property you're checking for uniqueness
)
);
return unique;
}
const result = removeDuplicates(blobObj);
return result;
};
export const getRepsBlobs = async (containerName) => {