Merge pull request #11410 from ramonlsouza/issue-10377

Show uploaded slides from other users
This commit is contained in:
Anton Georgiev 2021-02-16 08:56:05 -05:00 committed by GitHub
commit bc551f75ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,9 +10,12 @@ import PresentationUploader from './component';
const PRESENTATION_CONFIG = Meteor.settings.public.presentation; const PRESENTATION_CONFIG = Meteor.settings.public.presentation;
const PresentationUploaderContainer = props => ( const PresentationUploaderContainer = props => (
props.isPresenter
&& (
<ErrorBoundary Fallback={() => <FallbackModal />}> <ErrorBoundary Fallback={() => <FallbackModal />}>
<PresentationUploader {...props} /> <PresentationUploader {...props} />
</ErrorBoundary> </ErrorBoundary>
)
); );
export default withTracker(() => { export default withTracker(() => {