Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web-client/src/components/SrAnalysisMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ function handleSaveTooltip() {
size="small"
/>
<label v-show="hasLinkToElevationPlot" for="enable-location-finder" class="sr-check-label"
>Link to Elevation Plot
>Link to Plot
</label>
</div>
<div>
Expand Down
4 changes: 2 additions & 2 deletions web-client/src/components/SrPlotConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ async function enableLocationFinder(): Promise<void> {
reason: 'they exist as separate columns in file'
})
chartStore.setYDataOptions(reqIdStr, [...currentYData, ...newFields])
await refreshScatterPlot('enabled Link to Elevation Plot')
await refreshScatterPlot('enabled Link to Plot')
} else if ([latField, lonField].some((field) => !availableColumns.includes(field))) {
logger.debug('enableLocationFinder: Skipping lat/lon', {
reason: "they don't exist as separate columns (likely geoparquet with geometry column)"
Expand All @@ -159,7 +159,7 @@ async function enableLocationFinder(): Promise<void> {
if (await requestsStore.needAdvice()) {
toast.add({
severity: 'info',
summary: 'Link to Elevation Plot',
summary: 'Link to Plot',
detail: 'Click on a plot point to see where on the map it is.',
life: 3000
})
Expand Down
5 changes: 4 additions & 1 deletion web-client/src/components/SrRecTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,11 @@ function openCombinedParmsDialog(reqParms: any, rcvdParms: any) {
hasRcvdParms.value = hasRcvdContent

if (hasReqParms.value) {
// Extract inner data (remove 'parms' wrapper if present) for consistency with Request View
const innerReqParms =
reqParms?.parms && typeof reqParms.parms === 'object' ? reqParms.parms : reqParms
currentReqParms.value =
typeof reqParms === 'object' ? JSON.stringify(reqParms, null, 2) : reqParms
typeof innerReqParms === 'object' ? JSON.stringify(innerReqParms, null, 2) : innerReqParms
}

if (hasRcvdParms.value) {
Expand Down