fix: reorder buttons

This commit is contained in:
hexastack 2024-10-28 14:17:07 +01:00
parent 996a504caa
commit 3cef49d4de

View File

@ -639,6 +639,15 @@ const Diagrams = () => {
>
{t("button.edit")}
</Button>
<Button
size="small"
variant="contained"
startIcon={<MoveIcon />}
onClick={handleMoveButton}
disabled={!selectedBlockId || selectedBlockId.length !== 24}
>
{t("button.move")}
</Button>
<Button
sx={{}}
size="small"
@ -650,15 +659,6 @@ const Diagrams = () => {
>
{t("button.remove")}
</Button>
<Button
size="small"
variant="contained"
startIcon={<MoveIcon />}
onClick={handleMoveButton}
disabled={!selectedBlockId || selectedBlockId.length !== 24}
>
{t("button.move")}
</Button>
</Grid>
<Grid container item justifyContent="right" xs alignSelf="center">
<ButtonGroup