Skip to content

Commit 1eabe1b

Browse files
committed
fix: /publishers/new -> /publishers
1 parent 5e7d059 commit 1eabe1b

File tree

2 files changed

+668
-1
lines changed

2 files changed

+668
-1
lines changed

web/src/app/orgs/[slug]/settings/page.tsx

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client'
22

3-
import { ArrowLeft, Settings, Trash2, AlertTriangle } from 'lucide-react'
3+
import { ArrowLeft, Settings, Trash2, AlertTriangle, User } from 'lucide-react'
44
import Link from 'next/link'
55
import { useParams, useRouter } from 'next/navigation'
66
import { useSession } from 'next-auth/react'
@@ -274,6 +274,34 @@ export default function OrganizationSettingsPage() {
274274
<BillingStatus organizationId={organization.id} />
275275
)}
276276

277+
{/* Publisher Management */}
278+
{canManageOrg && (
279+
<Card>
280+
<CardHeader>
281+
<CardTitle>Publisher Profile</CardTitle>
282+
</CardHeader>
283+
<CardContent className="space-y-4">
284+
<div>
285+
<h4 className="font-medium mb-2">
286+
Create Organization Publisher
287+
</h4>
288+
<p className="text-sm text-muted-foreground mb-4">
289+
Create a publisher profile for this organization to publish
290+
agents.
291+
</p>
292+
<Link
293+
href={`/publishers?org=${organization.id}&type=organization`}
294+
>
295+
<Button className="flex items-center">
296+
<User className="mr-2 h-4 w-4" />
297+
Create Publisher Profile
298+
</Button>
299+
</Link>
300+
</div>
301+
</CardContent>
302+
</Card>
303+
)}
304+
277305
{/* General Settings */}
278306
<Card>
279307
<CardHeader>

0 commit comments

Comments
 (0)