From 8846a09a2caa2aa91b6d07e3e3604da90e7ba7a6 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Wed, 16 Aug 2023 16:23:57 -0400 Subject: [PATCH] fix(striker-ui): sort network ifaces by name initially --- striker-ui/components/NetworkInitForm.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/striker-ui/components/NetworkInitForm.tsx b/striker-ui/components/NetworkInitForm.tsx index d9492998..453dbf72 100644 --- a/striker-ui/components/NetworkInitForm.tsx +++ b/striker-ui/components/NetworkInitForm.tsx @@ -1514,6 +1514,11 @@ const NetworkInitForm = forwardRef< }} getRowId={({ networkInterfaceUUID }) => networkInterfaceUUID} hideFooter + initialState={{ + sorting: { + sortModel: [{ field: 'networkInterfaceName', sort: 'asc' }], + }, + }} rows={networkInterfaces} sx={{ color: GREY,