mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 16:44:59 -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">
|
<CommandGroup heading="Server Actions">
|
||||||
<CommandItem
|
<CommandItem
|
||||||
onClick={() => router.push("/server/" + serverName + "/")}
|
onSelect={() => router.push("/server/" + serverName + "/")}
|
||||||
>
|
>
|
||||||
<Server className="mr-2 h-4 w-4" />
|
<Server className="mr-2 h-4 w-4" />
|
||||||
Open Server Page
|
Open Server Page
|
||||||
</CommandItem>
|
</CommandItem>
|
||||||
<CommandItem
|
<CommandItem
|
||||||
onClick={() => {
|
onSelect={() => {
|
||||||
favoriteServer(serverName).then(() => toast.success("Done!"));
|
favoriteServer(serverName).then(() => toast.success("Done!"));
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@ -212,7 +212,7 @@ export function ServerCommandBar() {
|
|||||||
Favorite Server
|
Favorite Server
|
||||||
</CommandItem>
|
</CommandItem>
|
||||||
<CommandItem
|
<CommandItem
|
||||||
onClick={() => router.push("/server/" + serverName + "/statistics")}
|
onSelect={() => router.push("/server/" + serverName + "/statistics")}
|
||||||
>
|
>
|
||||||
<Database className="mr-2 h-4 w-4" />
|
<Database className="mr-2 h-4 w-4" />
|
||||||
See Statistics
|
See Statistics
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user