We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efd7650 commit 1a3fe0dCopy full SHA for 1a3fe0d
static/js/components/Datasets.jsx
@@ -10,6 +10,7 @@ import * as Action from '../actions';
10
import { reformatDatetime } from '../utils';
11
import CesiumTooltip from './Tooltip';
12
import FoldableRow from './FoldableRow';
13
+import { showNotification } from 'baselayer/components/Notifications';
14
15
16
const DatasetsTab = props => (
@@ -99,9 +100,10 @@ const dsMapStateToProps = (state, ownProps) => (
99
100
101
const dsMapDispatchToProps = (dispatch, ownProps) => (
102
{
- onSubmit: form => (
103
- dispatch(Action.uploadDataset(form))
104
- )
+ onSubmit: form => {
+ dispatch(showNotification('Dataset upload has begun.'));
105
+ return dispatch(Action.uploadDataset(form));
106
+ }
107
}
108
);
109
0 commit comments