move factory reset button to the left

This commit is contained in:
proddy
2026-08-23 13:01:49 +02:00
parent 0b47e5ec05
commit 015da730bf
+10 -9
View File
@@ -911,20 +911,13 @@ const Version = () => {
sx={{ sx={{
mt: 2, mt: 2,
display: 'flex', display: 'flex',
justifyContent: 'flex-end', justifyContent: 'space-between',
alignItems: 'center',
flexWrap: 'nowrap', flexWrap: 'nowrap',
whiteSpace: 'nowrap', whiteSpace: 'nowrap',
gap: 1 gap: 1
}} }}
> >
<Button
startIcon={<PowerSettingsNewIcon />}
variant="outlined"
onClick={handleRestartClick}
color="error"
>
{LL.RESTART()}
</Button>
{!data.disable_reset && ( {!data.disable_reset && (
<Button <Button
startIcon={<SettingsBackupRestoreIcon />} startIcon={<SettingsBackupRestoreIcon />}
@@ -935,6 +928,14 @@ const Version = () => {
{LL.FACTORY_RESET()} {LL.FACTORY_RESET()}
</Button> </Button>
)} )}
<Button
startIcon={<PowerSettingsNewIcon />}
variant="outlined"
onClick={handleRestartClick}
color="success"
>
{LL.RESTART()}
</Button>
</Box> </Box>
</> </>
)} )}