Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/RENCI/APSViz-UI-V3
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Oct 8, 2024
2 parents e306950 + 5fe34b8 commit 8b0ad2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/trays/settings/colormaps/style-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const StyleEditor = () => {
const getLoadedProductNames = () => {
//let productList = [];
defaultModelLayers.forEach(element => {
if (element.properties.product_type !== "obs")
if ((element.properties.product_type !== "obs") && (!productList.includes(element.properties.product_name)))
productList.push(element.properties.product_name);
});
};
Expand Down

0 comments on commit 8b0ad2d

Please sign in to comment.