Merge branch 'main' of https://github.com/fosrl/pangolin
This commit is contained in:
commit
1bc67c191b
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ const accountFormSchema = z.object({
|
||||||
type AccountFormValues = z.infer<typeof accountFormSchema>;
|
type AccountFormValues = z.infer<typeof accountFormSchema>;
|
||||||
|
|
||||||
const defaultValues: Partial<AccountFormValues> = {
|
const defaultValues: Partial<AccountFormValues> = {
|
||||||
name: "Wombat",
|
name: "",
|
||||||
method: "wg"
|
method: "wg"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ export function SidebarNav({ className, items, disabled = false, ...props }: Sid
|
||||||
href={item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId)}
|
href={item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId)}
|
||||||
className={cn(
|
className={cn(
|
||||||
buttonVariants({ variant: "ghost" }),
|
buttonVariants({ variant: "ghost" }),
|
||||||
pathname === item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId)
|
pathname === item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId) && !pathname.includes("create")
|
||||||
? "bg-muted hover:bg-muted"
|
? "bg-muted hover:bg-muted"
|
||||||
: "hover:bg-transparent hover:underline",
|
: "hover:bg-transparent hover:underline",
|
||||||
"justify-start",
|
"justify-start",
|
||||||
|
|
Loading…
Add table
Reference in a new issue