--- a/clientjs/packages/annotation-dashboard-explorunivers/src/store.js Mon Sep 17 00:28:58 2018 +0200
+++ b/clientjs/packages/annotation-dashboard-explorunivers/src/store.js Mon Sep 17 01:35:46 2018 +0200
@@ -7,6 +7,8 @@
import { rootReducer, actions } from 'dashboard-components';
+import { dashboardId } from './config.json';
+
const { fetchAnnotations } = actions;
let middlewares = [thunkMiddleware];
@@ -29,7 +31,7 @@
componentWillMount() {
const apiUrl = process.env.REACT_APP_API_URL;
const discussionUrl = process.env.REACT_APP_DISCUSSION_URL;
- store.dispatch(fetchAnnotations(apiUrl, discussionUrl));
+ store.dispatch(fetchAnnotations(apiUrl, discussionUrl, dashboardId));
}
render() {