chore: disable okBtn

This commit is contained in:
MystiPanda 2024-07-15 23:38:49 +08:00
parent f2e5f0754c
commit d98b3224cf
No known key found for this signature in database

View File

@ -49,9 +49,8 @@ export const NetworkInterfaceViewer = forwardRef<DialogRef>((props, ref) => {
</Box> </Box>
} }
contentSx={{ width: 450, maxHeight: 330 }} contentSx={{ width: 450, maxHeight: 330 }}
okBtn={t("Save")} disableOk
cancelBtn={t("Cancel")} cancelBtn={t("Close")}
onClose={() => setOpen(false)}
onCancel={() => setOpen(false)} onCancel={() => setOpen(false)}
> >
{networkInterfaces.map((item) => ( {networkInterfaces.map((item) => (