diff --git a/frontend/src/pages/Server.tsx b/frontend/src/pages/Server.tsx index 0595fec..88d4fb2 100644 --- a/frontend/src/pages/Server.tsx +++ b/frontend/src/pages/Server.tsx @@ -4,13 +4,13 @@ import { Card, DialogActions, DialogContent, DialogTitle, - Divider, + Divider, IconButton, Input, Modal, ModalDialog, Tab, TabList, - Tabs + Tabs, Tooltip } from "@mui/joy"; import {Settings} from "./server/Settings"; import {General} from "./server/General"; @@ -25,8 +25,8 @@ import { } from "../../wailsjs/go/server/ServerController"; import {InstallUpdater} from "./InstallUpdater"; import {useAlert} from "../components/AlertProvider"; -import {EventsOff, EventsOn} from "../../wailsjs/runtime"; -import {IconAlertCircleFilled} from "@tabler/icons-react"; +import {BrowserOpenURL, EventsOff, EventsOn} from "../../wailsjs/runtime"; +import {IconAlertCircleFilled, IconExternalLink} from "@tabler/icons-react"; type Props = { @@ -100,7 +100,12 @@ export const Server = ({id, className}: Props) => { {isInstalled? (
-

{} setServ((p) => ({ ...p, serverAlias: e.target.value }))}/>

+
+ setServ((p) => ({ ...p, serverAlias: e.target.value }))}/> + + BrowserOpenURL("file:///" + serv.serverPath)}> + +