There was an error while loading. Please reload this page.
1 parent 480bede commit 7b7d489Copy full SHA for 7b7d489
1 file changed
apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.apikeys/route.tsx
@@ -1146,7 +1146,18 @@ function ApiKeyScopeUpgradeCta({ show }: { show: boolean }) {
1146
const organization = useOrganization();
1147
const showSelfServe = useShowSelfServe();
1148
1149
- if (!show || !isManagedCloud) return null;
+ if (!show) return null;
1150
+
1151
+ if (!isManagedCloud) {
1152
+ return (
1153
+ <div className="text-right">
1154
+ <Paragraph variant="small">
1155
+ Restricted API keys aren't available on your current plan. Contact your administrator to
1156
+ enable them.
1157
+ </Paragraph>
1158
+ </div>
1159
+ );
1160
+ }
1161
1162
return (
1163
<div className="flex flex-col items-end text-right">
0 commit comments