ua-snap / ardac-explorer

ARDAC GUI Explorer
0 stars 0 forks source link

Update PermafrostChartControls component to use PermafrostChartLabels instead of HydrologyChartLabels #119

Open cstephen opened 3 months ago

cstephen commented 3 months ago

PermafrostChartControls.vue was based off HydrologyChartControls.vue, but it looks like these three lines never got updated:

https://github.com/ua-snap/ardac-explorer/blob/b30b110460beee6902d53ba26903204144282a9f/components/PermafrostChartControls.vue#L15-L17

I didn't catch this because it appears to work regardless, but we need to get this fixed for code clarity + avoiding future headaches. And/or maybe we should just make this a more general/shared TypeScript type, or tighten the screws on these TypeScript definitions to catch things like this.