uat defect 129
This commit is contained in:
+15
-1
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user