mirror of
https://github.com/fankes/beszel.git
synced 2025-10-20 02:09:28 +08:00
rm 'auth providers' links - dedicated page removed from pocketbase
This commit is contained in:
@@ -2,7 +2,6 @@ import {
|
|||||||
DatabaseBackupIcon,
|
DatabaseBackupIcon,
|
||||||
Github,
|
Github,
|
||||||
LayoutDashboard,
|
LayoutDashboard,
|
||||||
LockKeyholeIcon,
|
|
||||||
LogsIcon,
|
LogsIcon,
|
||||||
MailIcon,
|
MailIcon,
|
||||||
Server,
|
Server,
|
||||||
@@ -115,7 +114,7 @@ export default function CommandPalette({ open, setOpen }: { open: boolean; setOp
|
|||||||
</CommandShortcut>
|
</CommandShortcut>
|
||||||
</CommandItem>
|
</CommandItem>
|
||||||
<CommandItem
|
<CommandItem
|
||||||
keywords={["github"]}
|
keywords={["github", "oauth", "oidc"]}
|
||||||
onSelect={() => {
|
onSelect={() => {
|
||||||
window.location.href = "https://github.com/henrygd/beszel/blob/main/readme.md"
|
window.location.href = "https://github.com/henrygd/beszel/blob/main/readme.md"
|
||||||
}}
|
}}
|
||||||
@@ -174,21 +173,6 @@ export default function CommandPalette({ open, setOpen }: { open: boolean; setOp
|
|||||||
<Trans>Admin</Trans>
|
<Trans>Admin</Trans>
|
||||||
</CommandShortcut>
|
</CommandShortcut>
|
||||||
</CommandItem>
|
</CommandItem>
|
||||||
<CommandItem
|
|
||||||
keywords={["oauth", "oicd"]}
|
|
||||||
onSelect={() => {
|
|
||||||
setOpen(false)
|
|
||||||
window.open("/_/#/settings/auth-providers", "_blank")
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<LockKeyholeIcon className="me-2 h-4 w-4" />
|
|
||||||
<span>
|
|
||||||
<Trans>Auth Providers</Trans>
|
|
||||||
</span>
|
|
||||||
<CommandShortcut>
|
|
||||||
<Trans>Admin</Trans>
|
|
||||||
</CommandShortcut>
|
|
||||||
</CommandItem>
|
|
||||||
<CommandItem
|
<CommandItem
|
||||||
keywords={["email"]}
|
keywords={["email"]}
|
||||||
onSelect={() => {
|
onSelect={() => {
|
||||||
|
@@ -2,7 +2,6 @@ import { useState, lazy, Suspense } from "react"
|
|||||||
import { Button, buttonVariants } from "@/components/ui/button"
|
import { Button, buttonVariants } from "@/components/ui/button"
|
||||||
import {
|
import {
|
||||||
DatabaseBackupIcon,
|
DatabaseBackupIcon,
|
||||||
LockKeyholeIcon,
|
|
||||||
LogOutIcon,
|
LogOutIcon,
|
||||||
LogsIcon,
|
LogsIcon,
|
||||||
SearchIcon,
|
SearchIcon,
|
||||||
@@ -95,14 +94,6 @@ export default function Navbar() {
|
|||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
<DropdownMenuItem asChild>
|
|
||||||
<a href="/_/#/settings/auth-providers" target="_blank">
|
|
||||||
<LockKeyholeIcon className="me-2.5 h-4 w-4" />
|
|
||||||
<span>
|
|
||||||
<Trans>Auth Providers</Trans>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</DropdownMenuItem>
|
|
||||||
<DropdownMenuSeparator />
|
<DropdownMenuSeparator />
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
Reference in New Issue
Block a user