|
@@ -10,6 +10,7 @@ import moment from 'moment';
|
|
import {Button} from 'sentry/components/button';
|
|
import {Button} from 'sentry/components/button';
|
|
import type {DateTimeObject} from 'sentry/components/charts/utils';
|
|
import type {DateTimeObject} from 'sentry/components/charts/utils';
|
|
import {IconClose, IconZoom} from 'sentry/icons';
|
|
import {IconClose, IconZoom} from 'sentry/icons';
|
|
|
|
+import {t} from 'sentry/locale';
|
|
import {space} from 'sentry/styles/space';
|
|
import {space} from 'sentry/styles/space';
|
|
import type {DateString} from 'sentry/types/core';
|
|
import type {DateString} from 'sentry/types/core';
|
|
import type {EChartBrushEndHandler, ReactEchartsRef} from 'sentry/types/echarts';
|
|
import type {EChartBrushEndHandler, ReactEchartsRef} from 'sentry/types/echarts';
|
|
@@ -321,9 +322,14 @@ function FocusAreaOverlay({
|
|
size="xs"
|
|
size="xs"
|
|
onClick={onZoom}
|
|
onClick={onZoom}
|
|
icon={<IconZoom isZoomIn />}
|
|
icon={<IconZoom isZoomIn />}
|
|
- aria-label="zoom"
|
|
|
|
|
|
+ aria-label={t('zoom')}
|
|
|
|
+ />
|
|
|
|
+ <Button
|
|
|
|
+ size="xs"
|
|
|
|
+ onClick={onRemove}
|
|
|
|
+ icon={<IconClose />}
|
|
|
|
+ aria-label={t('remove')}
|
|
/>
|
|
/>
|
|
- <Button size="xs" onClick={onRemove} icon={<IconClose />} aria-label="remove" />
|
|
|
|
</FocusAreaRectActions>
|
|
</FocusAreaRectActions>
|
|
</Fragment>
|
|
</Fragment>
|
|
);
|
|
);
|