diff options
Diffstat (limited to 'src/document.js')
-rw-r--r-- | src/document.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/document.js b/src/document.js index 6033943d..e4eed520 100644 --- a/src/document.js +++ b/src/document.js @@ -266,6 +266,10 @@ const documentsMain = { PostMessages.sendWOPIPostMessage('loolframe', 'Hide_Menu_Item', { id: 'shareas' }) } + if (Config.get('userId') === null) { + PostMessages.sendWOPIPostMessage('loolframe', 'Hide_Menu_Item', { id: 'insertgraphicremote' }) + } + break case 'Failed': // Loading failed but editor shows the error |