From 72810525f57f4e8cb4301c0d0d8b0fd0107738c4 Mon Sep 17 00:00:00 2001 From: Artur Paikin Date: Mon, 2 Aug 2021 13:26:02 +0100 Subject: [PATCH] Update app.es6 --- website/src/examples/dashboard/app.es6 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/website/src/examples/dashboard/app.es6 b/website/src/examples/dashboard/app.es6 index 622977319..da2c07588 100644 --- a/website/src/examples/dashboard/app.es6 +++ b/website/src/examples/dashboard/app.es6 @@ -150,13 +150,13 @@ function uppySetOptions () { window.uppy.removePlugin(zoomInstance) } - const boxInstance = window.uppy.getPlugin('Box') - if (opts.Box && !boxInstance) { - window.uppy.use(Box, { target: Dashboard, companionUrl: COMPANION }) - } - if (!opts.Box && boxInstance) { - window.uppy.removePlugin(boxInstance) - } +// const boxInstance = window.uppy.getPlugin('Box') +// if (opts.Box && !boxInstance) { +// window.uppy.use(Box, { target: Dashboard, companionUrl: COMPANION }) +// } +// if (!opts.Box && boxInstance) { +// window.uppy.removePlugin(boxInstance) +// } const webcamInstance = window.uppy.getPlugin('Webcam') if (opts.Webcam && !webcamInstance) {