diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-26 14:58:59 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-26 14:58:59 +0200 |
| commit | 1fe65a7cdf28831c1e463177023312a3a1e39d02 (patch) | |
| tree | 622197ba84288da731b262d605aae42a788e1283 /app | |
| parent | 1011e5831b3140d79d6d426f36d6772ddbb11a22 (diff) | |
deploy bundle
Diffstat (limited to 'app')
| -rw-r--r-- | app/client/dashboard/dashboard.component.js | 10 |
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) + } }} /> ); |
