Skip to content

Commit

Permalink
backwards compability for mapProperties namespace Refine/fix import/e…
Browse files Browse the repository at this point in the history
…xport operations #712
  • Loading branch information
okg21 committed Jul 24, 2024
1 parent ac977e7 commit 4a7678a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/js/app-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -819,8 +819,11 @@ module.exports = function() {
// get and set properties from file
var properties = chiseInstance.getMapProperties();
// init map properties
var mapProperties = ( properties && properties['nwt:mapProperties'] ) ? properties['nwt:mapProperties'] : {};

var mapProperties = (properties && properties['nwt:mapProperties'])
? properties['nwt:mapProperties']
: (properties && properties.mapProperties)
? properties.mapProperties
: {};
var urlParams = appUtilities.getScratch(cy, 'urlParams');

if (urlParams) {
Expand Down

0 comments on commit 4a7678a

Please sign in to comment.