Skip to content

Commit

Permalink
fix: areaBrokerMock
Browse files Browse the repository at this point in the history
  • Loading branch information
yukipastelcat committed Oct 2, 2023
1 parent b6fbfe8 commit 71c447b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/areaBroker/mock/areaBrokerMock.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ define(['jquery', 'lodash', 'ui/areaBroker'], function ($, _, areaBrokerFactory)
if (!config.areas) {
config.areas = defaultAreas;
} else {
config.areas = _.keys(_.merge(_.fromPairs(config.areas), _.fromPairs(defaultAreas)));
config.areas = _.keys(_.merge(_.zipObject(config.areas), _.zipObject(defaultAreas)));
}

_.forEach(config.areas, function (areaId) {
Expand Down

0 comments on commit 71c447b

Please sign in to comment.