Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,18 @@ function ApiKeyScopeUpgradeCta({ show }: { show: boolean }) {
const organization = useOrganization();
const showSelfServe = useShowSelfServe();

if (!show || !isManagedCloud) return null;
if (!show) return null;

if (!isManagedCloud) {
return (
<div className="text-right">
<Paragraph variant="small">
Restricted API keys aren't available on your current plan. Contact your administrator to
enable them.
</Paragraph>
</div>
);
Comment thread
carderne marked this conversation as resolved.
}

return (
<div className="flex flex-col items-end text-right">
Expand Down
Loading