Remove print button on try

This commit is contained in:
Paulo Gustavo Veiga 2022-03-05 09:08:19 -08:00
parent c6db14b99a
commit 40ecda12fe
2 changed files with 13 additions and 11 deletions

View File

@ -120,6 +120,7 @@ export default function Toolbar({
>
<img src={ExportSvg} />
</ToolbarButton>
{(editorMode === 'edition-owner' || editorMode === 'edition-editor' || editorMode === 'edition-viewer') && (
<ToolbarButton
id="print"
className="buttonOn"
@ -127,6 +128,7 @@ export default function Toolbar({
>
<img src={PrintSvg} />
</ToolbarButton>
)}
{editorMode === 'edition-owner' && (
<>
<ToolbarButton

View File

@ -1,2 +1,2 @@
type EditorRenderMode = 'viewonly' | 'edition-owner' | 'edition-editor' | 'showcase';
type EditorRenderMode = 'viewonly' | 'edition-owner' | 'edition-editor' | 'edition-viewer' | 'showcase';
export default EditorRenderMode;