Skip to content

Commit ec49015

Browse files
[Dashboard] feat: Add allowed operations to partner access control
1 parent f2e61b8 commit ec49015

File tree

7 files changed

+1016
-114
lines changed

7 files changed

+1016
-114
lines changed

apps/dashboard/src/app/account/settings/getAccount.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ export async function getRawAccount() {
2222
},
2323
});
2424

25+
if (!res.ok) {
26+
console.error("Error fetching account", res.status, res.statusText);
27+
return undefined;
28+
}
29+
2530
const json = await res.json();
2631

2732
if (json.error) {

apps/dashboard/src/app/team/[team_slug]/(team)/~/ecosystem/[slug]/(active)/configuration/components/client/AddPartnerDialogButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function AddPartnerDialogButton(props: {
2626
Add Partner
2727
</Button>
2828
</DialogTrigger>
29-
<DialogContent>
29+
<DialogContent className="max-h-[90vh] max-w-3xl overflow-y-auto">
3030
<DialogHeader className="mb-2">
3131
<DialogTitle className="font-semibold text-2xl tracking-tight">
3232
Add Partner

0 commit comments

Comments
 (0)