Forráskód Böngészése

ImageEditor --> imageEditor

Artur Paikin 4 éve
szülő
commit
cd5f455b7d

+ 1 - 1
website/src/examples/dashboard/app.es6

@@ -149,7 +149,7 @@ function uppySetOptions () {
   }
 
   const imageEditorInstance = window.uppy.getPlugin('ImageEditor')
-  if (opts.ImageEditor && !imageEditorInstance) {
+  if (opts.imageEditor && !imageEditorInstance) {
     window.uppy.use(ImageEditor, { target: Dashboard })
   } else {
     window.uppy.removePlugin(imageEditorInstance)

+ 2 - 2
website/src/examples/dashboard/app.html

@@ -6,7 +6,7 @@
     <li><label for="opts-DashboardInline"><input type="checkbox" id="opts-DashboardInline" checked/> Display inline</label></li>
     <li><label for="opts-autoProceed"><input type="checkbox" id="opts-autoProceed" checked/> Autoproceed</label></li>
     <li><label for="opts-restrictions"><input type="checkbox" id="opts-restrictions" checked/> Restrictions</label></li>
-    <li><label for="opts-darkMode"><input type="checkbox" id="opts-darkMode" checked/> Dark Mode</label></li>
+    <li><label for="opts-darkMode"><input type="checkbox" id="opts-darkMode" /> Dark Mode</label></li>
     <li><label for="opts-imageEditor"><input type="checkbox" id="opts-imageEditor" checked/> Image Editor</label></li>
   </ul>
   <ul>
@@ -64,7 +64,7 @@
     Url: true,
     autoProceed: false,
     restrictions: false,
-    darkMode: true,
+    darkMode: false,
     imageEditor: true
   }