Skip to content

Commit

Permalink
add the patch file for graph changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lstillwe committed Feb 9, 2024
1 parent a526fb6 commit 862bc10
Show file tree
Hide file tree
Showing 5 changed files with 398 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import OpacityScale from "./opacityScale";
import React from "react";

export const ConfigTab = ({ activatedLayer }) => {
const isObs = activatedLayer.uniqueId.endsWith("obs");
const isObs =
activatedLayer.uniqueId.endsWith("obs") ||
activatedLayer.uniqueId.endsWith("-hurr_composite");
return (
<Stack
direction="row"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const label = { inputProps: { "aria-label": "Checkbox" } };

export const ChartItem = ({ chartItem }) => {
const [shouldSelect, setShouldSelect] = useState(true);
console.log(chartItem);
const lineColor = shouldSelect ? chartItem.getColor() : "#fff";

const toggleActive = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ export function getTrackGeojson(trackData, timezone, storm_name = "") {
stroke: "#858585",
"stroke-opacity": 0.7
};
console.log(JSON.stringify(coneFeatureCollection));

return {
cone: coneFeatureCollection,
Expand Down
2 changes: 0 additions & 2 deletions lib/custom-ui/components/utils/storm-layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ export function removeStormLayers(viewState, item) {
}
}

export function toggleStormLayerVisability(viewState, item) {}

// example uniqueId looks like this: 4419-2023071912-gfsforecast-obs
// just want this part returned: 4419-2023071912-gfsforecast
function getTruncatedId(uniqueId) {
Expand Down
Loading

0 comments on commit 862bc10

Please sign in to comment.