ux: admin: table action buttons on the left, for easier visual matching with the primary column which is often the first one
Massimo Melina committed
Jun 11, 2024 at 12:10 UTC
b4e9c0771b166a0aa15fd9682a8927267de13e78
1 file changed
+1
-1
admin/src/DataTable.ts
+1
-1
@@ -76,7 +76,7 @@ export function DataTable({ columns, initialState={}, actions, actionsProps, ini
76
}
77
})
78
if (actions)
79
- ret.push({
79
+ ret.unshift({
80
field: ACTIONS,
81
width: 40 * actionsLength,
82
headerName: '',