From 1fe65a7cdf28831c1e463177023312a3a1e39d02 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 26 Jun 2018 14:58:59 +0200 Subject: deploy bundle --- app/client/dashboard/dashboard.component.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'app') 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) + } }} /> ); -- cgit v1.2.3-70-g09d2