Skip to content

Commit

Permalink
#1374 | Fixed issue with reordering dashboard sections.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsanadi6 committed Dec 17, 2024
1 parent d20b7b1 commit f8febf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/utils/CollectionUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class CollectionUtil {
workingItems.forEach((item, index) => {
item[fieldToUpdate] = index + 1;
});

array.splice(0, array.length, ...workingItems);
}
}

Expand Down

0 comments on commit f8febf6

Please sign in to comment.