1.8.4
Fix tick box table updates
This commit is contained in:
@@ -292,7 +292,7 @@ export function useAppState() {
|
||||
} = useTableScroll({
|
||||
headTableRef, bodyTableRef, bodyScrollRef, headTrackRef,
|
||||
forecast, visibleCols, selectedDay, skinType, vehicleType,
|
||||
indoorMode, indoorManaged,
|
||||
indoorMode, indoorManaged, showDecimals, showUnits,
|
||||
});
|
||||
|
||||
// ── 8. GEOCODING SEARCH ───────────────────────────────────────────────
|
||||
|
||||
@@ -36,6 +36,8 @@ export function useTableScroll({
|
||||
vehicleType,
|
||||
indoorMode,
|
||||
indoorManaged,
|
||||
showDecimals,
|
||||
showUnits,
|
||||
}) {
|
||||
// --- SCROLL INDICATORS ---------------------------------------------
|
||||
const [tableCanScrollLeft, setTableCanScrollLeft] = useState(false);
|
||||
@@ -215,7 +217,7 @@ export function useTableScroll({
|
||||
if (ro) ro.disconnect();
|
||||
window.removeEventListener('resize', sync);
|
||||
};
|
||||
}, [forecast, visibleCols, selectedDay, skinType, vehicleType, indoorMode, indoorManaged]);
|
||||
}, [forecast, visibleCols, selectedDay, skinType, vehicleType, indoorMode, indoorManaged, showDecimals, showUnits]);
|
||||
|
||||
return {
|
||||
tableCanScrollLeft,
|
||||
|
||||
Reference in New Issue
Block a user