Skip to content

Commit

Permalink
Fix Dashboard Problems (geosolutions-it#32)
Browse files Browse the repository at this point in the history
* Fix Dashboard Problems

* you cans see content tabs
* you can open a dashboard
* for save the category in geostore was missing

* reordering create new map
  • Loading branch information
MV88 authored and Tobia Di Pisa committed Jul 10, 2019
1 parent 3726bdf commit 84d31e3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions js/appConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ module.exports = {
name: "dashboard",
path: "/dashboard",
component: require('../MapStore2/web/client/product/pages/Dashboard')
}, {
name: "dashboard",
path: "/dashboard/:did",
component: require('../MapStore2/web/client/product/pages/Dashboard')
}, {
name: "manager",
path: "/manager",
Expand Down
3 changes: 3 additions & 0 deletions js/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ module.exports = {
MapFooterPlugin: require('../MapStore2/web/client/plugins/MapFooter'),
AnnotationsPlugin: require('../MapStore2/web/client/plugins/Annotations'),
DetailsPlugin: require('../MapStore2/web/client/plugins/Details'),
Dashboards: require('../MapStore2/web/client/plugins/Dashboards'),
Dashboard: require('../MapStore2/web/client/plugins/Dashboard'),
DashboardEditor: require('../MapStore2/web/client/plugins/DashboardEditor'),
WidgetsPlugin: require('../MapStore2/web/client/plugins/Widgets'),
Expand All @@ -86,6 +87,8 @@ module.exports = {
TimelinePlugin: require('../MapStore2/web/client/plugins/Timeline'),
FeedbackMaskPlugin: require('../MapStore2/web/client/plugins/FeedbackMask'),
NavMenu: require('../MapStore2/web/client/product/plugins/NavMenu'),
ContentTabs: require('../MapStore2/web/client/plugins/ContentTabs'),
FeaturedMaps: require('../MapStore2/web/client/plugins/FeaturedMaps'),
TOCItemsSettingsPlugin: require('../MapStore2/web/client/plugins/TOCItemsSettings')
},
requires: {
Expand Down
4 changes: 2 additions & 2 deletions localConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -490,14 +490,14 @@
"cfg": {
"name": " "
}
}, "MapSearch", "GridContainer",
}, "MapSearch",
{
"name": "CreateNewMap",
"cfg": {
"allowedRoles": ["ADMIN"]
}
},
{
"ContentTabs", {
"name": "Maps",
"cfg": {
"mapsOptions": {
Expand Down

0 comments on commit 84d31e3

Please sign in to comment.