Skip to content

Commit

Permalink
ceil-vis data_map linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mollybsmith-noaa committed Oct 17, 2023
1 parent e9d29ef commit 7b7f297
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,8 @@ const queryDBMapCTC = function (
dataSource,
siteMap,
statistic,
appParams
appParams,
true
);
d = parsedData.d;
dPurple = parsedData.dPurple;
Expand Down Expand Up @@ -1143,7 +1144,8 @@ const queryDBMapCTC = function (
dataSource,
siteMap,
statistic,
appParams
appParams,
false
);
d = parsedData.d;
dPurple = parsedData.dPurple;
Expand Down Expand Up @@ -2979,7 +2981,8 @@ const parseQueryDataMapCTC = function (
dataSource,
siteMap,
statistic,
appParams
appParams,
isCouchbase
) {
const { hasLevels } = appParams;
let highLimit = 100;
Expand Down Expand Up @@ -3142,7 +3145,7 @@ const parseQueryDataMapCTC = function (
});

let thisSite;
if (matsCollections.Settings.findOne().dbType === matsTypes.DbTypes.couchbase) {
if (isCouchbase) {
thisSite = siteMap.find((obj) => obj.name === site);
} else {
thisSite = siteMap.find((obj) => obj.options.id === site);
Expand Down

0 comments on commit 7b7f297

Please sign in to comment.