Skip to content

Commit

Permalink
Fix diableif not working for add resource in home (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidQuartz authored Feb 10, 2022
1 parent 54029c1 commit 41abbd3
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions geonode_mapstore_client/client/js/apps/gn-home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ import gnresource from '@js/reducers/gnresource';
import resourceservice from '@js/reducers/resourceservice';
import gnsearchEpics from '@js/epics/gnsearch';
import gnsaveEpics from '@js/epics/gnsave';
import gnsettings from '@js/reducers/gnsettings';
import resourceServiceEpics from '@js/epics/resourceservice';

import { updateGeoNodeSettings } from '@js/actions/gnsettings';

import {
getConfiguration,
getEndpoints,
Expand Down Expand Up @@ -64,7 +67,8 @@ Promise.all([
})
.then(({
securityState,
geoNodeConfiguration
geoNodeConfiguration,
settings
}) => {
const appEpics = {
...gnsearchEpics,
Expand All @@ -89,10 +93,14 @@ Promise.all([
gnresource,
resourceservice,
security,
controls
controls,
gnsettings
},
appEpics,
geoNodeConfiguration
geoNodeConfiguration,
initialActions: [
updateGeoNodeSettings.bind(null, settings),
]
});
});
});

0 comments on commit 41abbd3

Please sign in to comment.