Skip to content
Permalink
Browse files

Fix in overriding project.json definition with general Eqwc.settings.…

…value
  • Loading branch information...
uprel committed Mar 14, 2019
1 parent 28e5a1f commit d4752a527cfcbba73edbf02ac6308445c77cf995
Showing with 3 additions and 2 deletions.
  1. +3 −2 client_common/eqwc_common.js
@@ -8,10 +8,11 @@
if(projectData.search === null && Eqwc.settings.search) {
projectData.search = Eqwc.settings.search;
}
if(projectData.geoCode === null && Eqwc.settings.geoCode) {
//wsgi and geocode exclude each other
if(projectData.geoCode === null && projectData.wsgi === null && Eqwc.settings.geoCode) {
projectData.geoCode = Eqwc.settings.geoCode;
}
if(projectData.wsgi === null && Eqwc.settings.wsgi) {
if(projectData.wsgi === null && projectData.geoCode === null && Eqwc.settings.wsgi) {
projectData.wsgi = Eqwc.settings.wsgi;
}
if(projectData.locationServices === null && Eqwc.settings.locationServices) {

0 comments on commit d4752a5

Please sign in to comment.
You can’t perform that action at this time.