diff options
Diffstat (limited to 'app/client/modules/biggan/biggan.tasks.js')
| -rw-r--r-- | app/client/modules/biggan/biggan.tasks.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/client/modules/biggan/biggan.tasks.js b/app/client/modules/biggan/biggan.tasks.js index a28bf20..3c39c85 100644 --- a/app/client/modules/biggan/biggan.tasks.js +++ b/app/client/modules/biggan/biggan.tasks.js @@ -8,7 +8,6 @@ import actions from '../../actions' import module from './biggan.module' export const invert_task = (folder_id) => dispatch => { - if (dataset === 'PLACEHOLDER') return const task = { module: module.name, activity: 'invert', @@ -16,10 +15,6 @@ export const invert_task = (folder_id) => dispatch => { folder_id: folder_id, } } - if (!task.dataset) { - console.error("invert task: no dataset specified") - return - } console.log(task) return actions.queue.add_task(task) } |
