fix(striker-ui): sort network ifaces by name initially

main
Tsu-ba-me 1 year ago
parent 2c747600b7
commit 8846a09a2c
  1. 5
      striker-ui/components/NetworkInitForm.tsx

@ -1514,6 +1514,11 @@ const NetworkInitForm = forwardRef<
}} }}
getRowId={({ networkInterfaceUUID }) => networkInterfaceUUID} getRowId={({ networkInterfaceUUID }) => networkInterfaceUUID}
hideFooter hideFooter
initialState={{
sorting: {
sortModel: [{ field: 'networkInterfaceName', sort: 'asc' }],
},
}}
rows={networkInterfaces} rows={networkInterfaces}
sx={{ sx={{
color: GREY, color: GREY,

Loading…
Cancel
Save