Remove unnecessary tooltip on device activity page (#26078)

Closes #26032

Signed-off-by: René Zeidler <rene.zeidler@gmx.de>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
ReneZeidler 2024-01-11 12:49:07 +01:00 committed by GitHub
parent d70dd9db67
commit 841e1e3d99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,6 @@ import {
Split, Split,
SplitItem, SplitItem,
Title, Title,
Tooltip,
} from "@patternfly/react-core"; } from "@patternfly/react-core";
import { import {
DesktopIcon, DesktopIcon,
@ -115,17 +114,14 @@ const DeviceActivity = () => {
</Title> </Title>
</SplitItem> </SplitItem>
<SplitItem> <SplitItem>
<Tooltip content={t("refreshPage")}> <Button
<Button id="refresh-page"
aria-describedby="refresh page" variant="link"
id="refresh-page" onClick={() => refresh()}
variant="link" icon={<SyncAltIcon />}
onClick={() => refresh()} >
icon={<SyncAltIcon />} {t("refreshPage")}
> </Button>
{t("refreshPage")}
</Button>
</Tooltip>
{(devices.length > 1 || devices[0].sessions.length > 1) && ( {(devices.length > 1 || devices[0].sessions.length > 1) && (
<ContinueCancelModal <ContinueCancelModal