Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

chore: Update settings layout and OAuth token handling

Kiran K09918304d275
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/layout.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/layout.tsx
index bbbcc0a68a..12d5f8a082 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/layout.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/layout.tsx
@@ -30,10 +30,12 @@ export default function WorkspaceSettingsLayout({
},
{
name: "Integrations",
+ icon: Gear2,
segment: "integrations",
},
{
name: "OAuth Apps",
+ icon: Key,
segment: "oauth-apps",
},
{
diff --git a/apps/web/lib/api/tokens/scopes.ts b/apps/web/lib/api/tokens/scopes.ts
index d903fc74e9..3b29a47f0a 100644
--- a/apps/web/lib/api/tokens/scopes.ts
+++ b/apps/web/lib/api/tokens/scopes.ts
@@ -184,7 +184,7 @@ export const permissions: Permission[] = [
resource: "oauth_apps",
betaFeature: false,
},
-] as const;
+];
export const scopeMapping = {
"apis.all": availableScopes,