diff --git a/webapp/src/components/viewHeader.tsx b/webapp/src/components/viewHeader.tsx index 1df246718..f287ac87a 100644 --- a/webapp/src/components/viewHeader.tsx +++ b/webapp/src/components/viewHeader.tsx @@ -12,6 +12,7 @@ import ViewMenu from '../components/viewMenu' import {Constants} from '../constants' import {CsvExporter} from '../csvExporter' import mutator from '../mutator' +import {UserContext} from '../user' import {BoardTree} from '../viewModel/boardTree' import Button from '../widgets/buttons/button' import IconButton from '../widgets/buttons/iconButton' @@ -303,11 +304,15 @@ class ViewHeader extends React.Component { name={intl.formatMessage({id: 'ViewHeader.export-board-archive', defaultMessage: 'Export board archive'})} onClick={() => Archiver.exportBoardTree(boardTree)} /> */} - + + {(user) => (user && user.id !== 'single-user' && + + )} + {/*