fixed search routes

pull/5329/head
maxi 2022-11-02 09:23:03 +01:00
parent b0958a6e19
commit e6ba11a1ec
1 changed files with 5 additions and 5 deletions

View File

@ -143,7 +143,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => {
section: "security",
shortcut: ["c", "p"],
keywords: "change modify password",
perform: () => router.push("/settings/security"),
perform: () => router.push("/settings/security/password"),
},
{
id: "two-factor",
@ -151,7 +151,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => {
section: "security",
shortcut: ["t", "f", "a"],
keywords: "two factor authentication",
perform: () => router.push("/settings/security"),
perform: () => router.push("/settings/security/two-factor-auth"),
},
{
id: "impersonation",
@ -159,7 +159,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => {
section: "security",
shortcut: ["u", "i"],
keywords: "user impersonation",
perform: () => router.push("/settings/security"),
perform: () => router.push("/settings/security/impersonation"),
},
{
id: "webhooks",
@ -167,7 +167,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => {
section: "developer",
shortcut: ["w", "h"],
keywords: "webhook automation",
perform: () => router.push("/settings/developer"),
perform: () => router.push("/settings/developer/webhooks"),
},
{
id: "api-keys",
@ -175,7 +175,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => {
section: "developer",
shortcut: ["a", "p", "i"],
keywords: "api keys",
perform: () => router.push("/settings/developer"),
perform: () => router.push("/settings/developer/api-keys"),
},
{
id: "billing",