Skip to content

Commit 01dcdb2

Browse files
committed
StatsHouse UI: fix load plot meta for variable
1 parent 9e03b21 commit 01dcdb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

statshouse-ui/src/components2/Dashboard/DashboardSettings/VariablePlotLinkSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function VariablePlotLinkSelect({ plotKey, selectTag, onChange }: Variabl
2222
const plot = useStatsHouse(useCallback(({ params: { plots } }) => plots[plotKey], [plotKey]));
2323
const plotData = usePlotsDataStore(useCallback(({ plotsData }) => plotsData[plotKey], [plotKey]));
2424
const metricName = useMemo(() => getMetricName(plot, plotData), [plot, plotData]);
25-
const metricMeta = useMetricMeta(metricName);
25+
const metricMeta = useMetricMeta(metricName, true);
2626

2727
const changeTag = useCallback(
2828
(e: React.ChangeEvent<HTMLSelectElement>) => {

0 commit comments

Comments
 (0)