Skip to content

Commit 2f53946

Browse files
authored
Merge pull request #634 from SlideRuleEarth/carlos-dev
Fix label for ATL06 fits
2 parents 48cc5ba + d3896e9 commit 2f53946

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

web-client/src/components/SrElevationPlot.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ const shouldDisplayOverlayGradient =computed(() => {
332332
(computedOverlayDataKey.value!='atl24_class');
333333
});
334334
335-
const isAtl24WithPhotonCloud = computed(() => { // hack needed until sever supports both heights
336-
return ((atlChartFilterStore.selectedOverlayedReqIds.length > 0) && (recTreeStore.selectedApi==='atl24x'));
335+
const isAtl24WithPhotonCloud = computed(() => { // hack needed until server supports both heights
336+
return ((atlChartFilterStore.selectedOverlayedReqIds.length > 0) && (recTreeStore.selectedApi.includes('atl24')));
337337
});
338338
339339
const PC_OnTooltip = computed(() => {
@@ -736,16 +736,16 @@ watch(() => atlChartFilterStore.showSlopeLines, async (newValue) => {
736736
>
737737
</ToggleButton>
738738
</div>
739-
<div v-if="recTreeStore.selectedApi==='atl06p'" class="slope-checkbox-group">
739+
<div v-if="recTreeStore.selectedApi.includes('atl06')" class="slope-checkbox-group">
740740
<Checkbox
741-
v-if="(recTreeStore.selectedApi==='atl06p')"
741+
v-if="(recTreeStore.selectedApi.includes('atl06'))"
742742
v-model="atlChartFilterStore.showSlopeLines"
743743
binary
744744
inputId="sslCheckbox"
745745
size="small"
746-
:tooltipText="'Show Slope Lines for ATL06p'"
746+
:tooltipText="'Show linear fit for each segment'"
747747
/>
748-
<label v-if="(recTreeStore.selectedApi==='atl06p')" for="sslCheckbox" class="sr-checkbox-label">Show Slope Lines</label>
748+
<label v-if="(recTreeStore.selectedApi.includes('atl06'))" for="sslCheckbox" class="sr-checkbox-label">Show linear fit for each segment</label>
749749
</div>
750750
<SrRunControl
751751
:includeAdvToggle="false"

0 commit comments

Comments
 (0)