Modify position of tooltip for management job list

Modify position of tooltip for management job list. Also, remove
duplicated tooltip.
This commit is contained in:
nixocio
2022-06-13 11:33:59 -04:00
parent 705f86f8cf
commit 876edf54a3
2 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ function LaunchManagementPrompt({
const [dataRetention, setDataRetention] = useState(defaultDays);
return (
<>
<Tooltip content={t`Launch management job`} position="top">
<Tooltip content={t`Launch management job`} position="left">
<Button
aria-label={t`Launch management job`}
variant="plain"

View File

@@ -71,7 +71,7 @@ function ManagementJobListItem({
</Td>
<Td dataLabel={t`Description`}>{description}</Td>
<ActionsTd dataLabel={t`Actions`}>
<ActionItem visible={isSuperUser} tooltip={t`Launch Management Job`}>
<ActionItem visible={isSuperUser}>
{isSuperUser ? (
<>
{isPrompted ? (
@@ -84,7 +84,7 @@ function ManagementJobListItem({
defaultDays={30}
/>
) : (
<Tooltip content={t`Launch management job`} position="top">
<Tooltip content={t`Launch management job`} position="left">
<Button
ouiaId={`${id}-launch-button`}
aria-label={t`Launch management job`}