Fix Bug
This commit is contained in:
@@ -632,9 +632,9 @@ export default function APIPageClient({ machineId }) {
|
|||||||
{tunnelProgress || "Creating tunnel..."}
|
{tunnelProgress || "Creating tunnel..."}
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
onClick={() => setShowDisableTunnelModal(true)}
|
onClick={() => { setTunnelLoading(false); setTunnelProgress(""); }}
|
||||||
className="p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0"
|
className="p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0"
|
||||||
title="Disable Tunnel"
|
title="Stop"
|
||||||
>
|
>
|
||||||
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
||||||
</button>
|
</button>
|
||||||
@@ -654,9 +654,9 @@ export default function APIPageClient({ machineId }) {
|
|||||||
Checking...
|
Checking...
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
onClick={() => setShowDisableTunnelModal(true)}
|
onClick={() => setTunnelChecking(false)}
|
||||||
className="p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0"
|
className="p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0"
|
||||||
title="Disable Tunnel"
|
title="Stop"
|
||||||
>
|
>
|
||||||
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
||||||
</button>
|
</button>
|
||||||
@@ -707,9 +707,9 @@ export default function APIPageClient({ machineId }) {
|
|||||||
{tsProgress || "Connecting..."}
|
{tsProgress || "Connecting..."}
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
onClick={() => setShowDisableTsModal(true)}
|
onClick={() => { setTsLoading(false); setTsConnecting(false); setTsProgress(""); }}
|
||||||
className="p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0"
|
className="p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0"
|
||||||
title="Disable Tailscale"
|
title="Stop"
|
||||||
>
|
>
|
||||||
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user