mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-29 06:10:47 +00:00
make org select box funcitonal
This commit is contained in:
@@ -123,7 +123,12 @@ export default function Header({ email, orgName, name, orgs }: HeaderProps) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Select defaultValue={orgName}>
|
||||
<Select
|
||||
defaultValue={orgName}
|
||||
onValueChange={(val) => {
|
||||
router.push(`/${val}/settings`);
|
||||
}}
|
||||
>
|
||||
<SelectTrigger className="w-[100px] md:w-[180px]">
|
||||
<SelectValue placeholder="Select an org" />
|
||||
</SelectTrigger>
|
||||
|
||||
Reference in New Issue
Block a user