Skip to content

Commit 74c7411

Browse files
committed
Remove useless array copy
1 parent e15e819 commit 74c7411

File tree

1 file changed

+1
-1
lines changed
  • site/frontend/src/pages/detailed-query

1 file changed

+1
-1
lines changed

site/frontend/src/pages/detailed-query/page.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const tableData = computed(() => {
3939
const dataRows = rows.filter((row) => !row.isTotal);
4040
4141
// Sort data rows based on current sort column and direction
42-
const sortedDataRows = [...dataRows].sort((a, b) => {
42+
const sortedDataRows = dataRows.sort((a, b) => {
4343
let aValue: string | number;
4444
let bValue: string | number;
4545
let aSecondary: number | undefined;

0 commit comments

Comments
 (0)