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={{
mt: 2,
display: 'flex',
justifyContent: 'flex-end',
justifyContent: 'space-between',
alignItems: 'center',
flexWrap: 'nowrap',
whiteSpace: 'nowrap',
gap: 1
}}
>
<Button
startIcon={<PowerSettingsNewIcon />}
variant="outlined"
onClick={handleRestartClick}
color="error"
>
{LL.RESTART()}
</Button>
{!data.disable_reset && (
<Button
startIcon={<SettingsBackupRestoreIcon />}
@@ -935,6 +928,14 @@ const Version = () => {
{LL.FACTORY_RESET()}
</Button>
)}
<Button
startIcon={<PowerSettingsNewIcon />}
variant="outlined"
onClick={handleRestartClick}
color="success"
>
{LL.RESTART()}
</Button>
</Box>
</>
)}