summaryrefslogtreecommitdiff
path: root/app/client
diff options
context:
space:
mode:
Diffstat (limited to 'app/client')
-rw-r--r--app/client/dashboard/dashboard.component.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/client/dashboard/dashboard.component.js b/app/client/dashboard/dashboard.component.js
index ac060de..b3cf6e4 100644
--- a/app/client/dashboard/dashboard.component.js
+++ b/app/client/dashboard/dashboard.component.js
@@ -52,10 +52,12 @@ class Dashboard extends Component {
orderBy='date desc'
fields={'name date epoch size'}
onClick={(file, e) => {
- e.preventDefault()
- e.stopPropagation()
- console.log('picked a file', file)
- this.handlePick(file)
+ if (key === 'samplernn') {
+ e.preventDefault()
+ e.stopPropagation()
+ console.log('picked a file', file)
+ this.handlePick(file)
+ }
}}
/>
);