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