Reorder toolbar bootons

This commit is contained in:
Paulo Gustavo Veiga 2022-10-08 16:41:22 -07:00
parent 4be35a741e
commit 1e173cd690

View File

@ -434,6 +434,12 @@ export function buildEditorAppBarConfiguration(
visible: !capability.isHidden('save'),
},
appBarDivisor,
{
icon: <FileDownloadOutlinedIcon />,
tooltip: $msg('EXPORT'),
onClick: () => onAction('export'),
visible: !capability.isHidden('export'),
},
{
icon: <PrintOutlinedIcon />,
tooltip: $msg('PRINT'),
@ -441,10 +447,10 @@ export function buildEditorAppBarConfiguration(
visible: !capability.isHidden('print'),
},
{
icon: <FileDownloadOutlinedIcon />,
tooltip: $msg('EXPORT'),
onClick: () => onAction('export'),
visible: !capability.isHidden('export'),
icon: <HelpOutlineOutlinedIcon />,
onClick: () => onAction('info'),
tooltip: $msg('MAP_INFO'),
visible: !capability.isHidden('info'),
},
{
icon: <CloudUploadOutlinedIcon />,
@ -460,12 +466,6 @@ export function buildEditorAppBarConfiguration(
),
visible: !capability.isHidden('share'),
},
{
icon: <HelpOutlineOutlinedIcon />,
onClick: () => onAction('info'),
tooltip: $msg('MAP_INFO'),
visible: !capability.isHidden('info'),
},
{
render: () => accountConfiguration,
visible: !capability.isHidden('account'),