diff --git a/web/packages/teleport/src/Bots/List/Bots.tsx b/web/packages/teleport/src/Bots/List/Bots.tsx index ed9e42bfc019f..84e68d4dddbe7 100644 --- a/web/packages/teleport/src/Bots/List/Bots.tsx +++ b/web/packages/teleport/src/Bots/List/Bots.tsx @@ -20,7 +20,7 @@ import React, { useEffect, useState } from 'react'; import { useAttemptNext } from 'shared/hooks'; import { Link } from 'react-router-dom'; import { HoverTooltip } from 'shared/components/ToolTip'; -import { Alert, Box, ButtonPrimary, Indicator } from 'design'; +import { Alert, Flex, Box, ButtonPrimary, Indicator, Text } from 'design'; import { FeatureBox, @@ -129,8 +129,10 @@ export function Bots() { {!canListBots && ( - You do not have permission to access Bots. Missing role permissions:{' '} - bot.list + + You do not have permission to access Bots. Missing role + permissions: bot.list + )}