mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
Remove print button on try
This commit is contained in:
parent
c6db14b99a
commit
40ecda12fe
@ -120,13 +120,15 @@ export default function Toolbar({
|
|||||||
>
|
>
|
||||||
<img src={ExportSvg} />
|
<img src={ExportSvg} />
|
||||||
</ToolbarButton>
|
</ToolbarButton>
|
||||||
<ToolbarButton
|
{(editorMode === 'edition-owner' || editorMode === 'edition-editor' || editorMode === 'edition-viewer') && (
|
||||||
id="print"
|
<ToolbarButton
|
||||||
className="buttonOn"
|
id="print"
|
||||||
onClick={() => onAction('print')}
|
className="buttonOn"
|
||||||
>
|
onClick={() => onAction('print')}
|
||||||
<img src={PrintSvg} />
|
>
|
||||||
</ToolbarButton>
|
<img src={PrintSvg} />
|
||||||
|
</ToolbarButton>
|
||||||
|
)}
|
||||||
{editorMode === 'edition-owner' && (
|
{editorMode === 'edition-owner' && (
|
||||||
<>
|
<>
|
||||||
<ToolbarButton
|
<ToolbarButton
|
||||||
@ -146,9 +148,9 @@ export default function Toolbar({
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{(editorMode === 'edition-owner' || editorMode === 'edition-editor') && (
|
{(editorMode === 'edition-owner' || editorMode === 'edition-editor') && (
|
||||||
<ToolbarButton id="account">
|
<ToolbarButton id="account">
|
||||||
<img src={AccountSvg} />
|
<img src={AccountSvg} />
|
||||||
</ToolbarButton>
|
</ToolbarButton>
|
||||||
)}
|
)}
|
||||||
{editorMode === 'edition-owner' && (
|
{editorMode === 'edition-owner' && (
|
||||||
<ActionButton onClick={() => onAction('share')}>
|
<ActionButton onClick={() => onAction('share')}>
|
||||||
|
@ -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;
|
export default EditorRenderMode;
|
||||||
|
Loading…
Reference in New Issue
Block a user