mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-08 01:34:58 -05:00
patch: fixing command bar being unclickable
This commit is contained in:
parent
fc0767cc86
commit
8973d6a609
@ -198,13 +198,13 @@ export function ServerCommandBar() {
|
||||
|
||||
<CommandGroup heading="Server Actions">
|
||||
<CommandItem
|
||||
onClick={() => router.push("/server/" + serverName + "/")}
|
||||
onSelect={() => router.push("/server/" + serverName + "/")}
|
||||
>
|
||||
<Server className="mr-2 h-4 w-4" />
|
||||
Open Server Page
|
||||
</CommandItem>
|
||||
<CommandItem
|
||||
onClick={() => {
|
||||
onSelect={() => {
|
||||
favoriteServer(serverName).then(() => toast.success("Done!"));
|
||||
}}
|
||||
>
|
||||
@ -212,7 +212,7 @@ export function ServerCommandBar() {
|
||||
Favorite Server
|
||||
</CommandItem>
|
||||
<CommandItem
|
||||
onClick={() => router.push("/server/" + serverName + "/statistics")}
|
||||
onSelect={() => router.push("/server/" + serverName + "/statistics")}
|
||||
>
|
||||
<Database className="mr-2 h-4 w-4" />
|
||||
See Statistics
|
||||
|
||||
Loading…
Reference in New Issue
Block a user