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