(cherry picked from commit b5cb7738da)
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com>
This commit is contained in:
co-authored by
Victor Marin
parent
42cf51b4cb
commit
9f5b714e16
+2
-2
@@ -130,7 +130,7 @@ const NarrowScreenForm: React.FC<FormProps> = (props) => {
|
||||
const collapsed = hideQuickRanges ? false : collapsedFlag;
|
||||
|
||||
const onChangeTimeOption = (timeOption: TimeOption) => {
|
||||
return onChange(mapOptionToTimeRange(timeOption));
|
||||
return onChange(mapOptionToTimeRange(timeOption, timeZone));
|
||||
};
|
||||
|
||||
return (
|
||||
@@ -176,7 +176,7 @@ const FullScreenForm: React.FC<FormProps> = (props) => {
|
||||
const theme = useTheme2();
|
||||
const styles = getFullScreenStyles(theme, props.hideQuickRanges);
|
||||
const onChangeTimeOption = (timeOption: TimeOption) => {
|
||||
return onChange(mapOptionToTimeRange(timeOption));
|
||||
return onChange(mapOptionToTimeRange(timeOption, timeZone));
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user