fix ssl button

This commit is contained in:
Nicholas Orlowsky 2023-11-17 16:49:03 -05:00
parent 1c60f4e136
commit 38cf47d1fa

View file

@ -49,7 +49,7 @@ export default function DashboardPage() {
return ( return (
<div className={"mb-2 p-2"}> <div className={"mb-2 p-2"}>
<a href={host.hostname}>{host.hostname}</a> <a href={host.hostname}>{host.hostname}</a>
{host.isSslEnabled ? <a onClick={async () => { {!host.isSslEnabled ? <a onClick={async () => {
let rawSession: string | null = localStorage.getItem("session_key"); let rawSession: string | null = localStorage.getItem("session_key");
if (rawSession != null) { if (rawSession != null) {