From e4b941f98801251c3000c3794af0dd12d5595ef6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 12 Aug 2019 02:48:32 +0200 Subject: deploy bundle --- app/client/modules/samplernn/samplernn.actions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/client/modules/samplernn/samplernn.actions.js b/app/client/modules/samplernn/samplernn.actions.js index e4de1dd..d3f35fd 100644 --- a/app/client/modules/samplernn/samplernn.actions.js +++ b/app/client/modules/samplernn/samplernn.actions.js @@ -65,6 +65,7 @@ export const load_directories = (id) => (dispatch) => { .filter(b => b.length && b[1]) .reduce((a,b) => (a[b[0]] = b[1]) && a, {}) checkpoint.name = checkpoint.name || checkpoint.dataset || checkpoint.exp + if (!checkpoint.name) return checkpoint.date = s.date checkpoint.dir = s checkpoint.persisted = false @@ -76,7 +77,7 @@ export const load_directories = (id) => (dispatch) => { } dataset.checkpoints.push(checkpoint) return checkpoint - }) + }).filter(c => !!c) output.map(file => { file.uuid = uuidv1() -- cgit v1.2.3-70-g09d2