Skip to content

Commit 0680122

Browse files
committed
[TimeWindowButtons] Do not show when isAutoRefreshOnly is true
1 parent 6c50c8b commit 0680122

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/eui/src/components/date_picker/super_date_picker/super_date_picker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ export class EuiSuperDatePickerInternal extends Component<
736736
};
737737

738738
renderTimeWindowButtons = () => {
739-
if (!this.props.showTimeWindowButtons) {
739+
if (!this.props.showTimeWindowButtons || this.props.isAutoRefreshOnly) {
740740
return null;
741741
}
742742
const { start, end, showTimeWindowButtons, compressed, isDisabled } =

0 commit comments

Comments
 (0)