Commit cfba0ba7 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed unsuccessful redirect on dataset creates in the UI. #769

parent e87ecfdb
Pipeline #126642 passed with stages
in 32 minutes and 30 seconds
...@@ -338,7 +338,7 @@ function EditMetaDataDialog({...props}) { ...@@ -338,7 +338,7 @@ function EditMetaDataDialog({...props}) {
}, []) }, [])
const createNewDatasets = useCallback(() => { const createNewDatasets = useCallback(() => {
const promises = actions.filter(action => action.create_dataset).map(action => api.post(`/datasets`, {dataset_name: action.create_dataset})) const promises = actions.filter(action => action.create_dataset).map(action => api.post(`/datasets/`, {dataset_name: action.create_dataset}))
return Promise.all(promises) return Promise.all(promises)
}, [api, actions]) }, [api, actions])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment