Skip to content

Commit

Permalink
Merge pull request #1209 from Metritutus/vue3-sort-fix
Browse files Browse the repository at this point in the history
gridHelper fix for Vue3
  • Loading branch information
SpacialCircumstances authored Oct 29, 2024
2 parents 905a77f + 26dda8f commit c843d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/services/gridHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class GridHelper {

dynamicSort(data, sortInfo, missingPropertyFallbackFunc) {
if (sortInfo?.propertyPaths != null) {
data = data.sort((a, b) => this.dynamicCompare(a, b, sortInfo, missingPropertyFallbackFunc));
data = [...data].sort((a, b) => this.dynamicCompare(a, b, sortInfo, missingPropertyFallbackFunc));
}

return data;
Expand Down

0 comments on commit c843d76

Please sign in to comment.