Browse Source

add `note` if restrictions are selected in Dashboard example

Artur Paikin 7 years ago
parent
commit
61b8071295
1 changed files with 2 additions and 1 deletions
  1. 2 1
      website/src/examples/dashboard/app.es6

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

@@ -36,7 +36,8 @@ function uppyInit () {
   uppy.use(Dashboard, {
     trigger: '.UppyModalOpenerBtn',
     inline: opts.DashboardInline,
-    target: opts.DashboardInline ? '.DashboardContainer' : 'body'
+    target: opts.DashboardInline ? '.DashboardContainer' : 'body',
+    note: opts.restrictions ? 'Images and video only, 300kb or less' : ''
   })
 
   if (opts.GoogleDrive) {