mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
Fix Bug
This commit is contained in:
@@ -632,9 +632,9 @@ export default function APIPageClient({ machineId }) {
|
||||
{tunnelProgress || "Creating tunnel..."}
|
||||
</div>
|
||||
<button
|
||||
onClick={() => setShowDisableTunnelModal(true)}
|
||||
onClick={() => { setTunnelLoading(false); setTunnelProgress(""); }}
|
||||
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>
|
||||
</button>
|
||||
@@ -654,9 +654,9 @@ export default function APIPageClient({ machineId }) {
|
||||
Checking...
|
||||
</div>
|
||||
<button
|
||||
onClick={() => setShowDisableTunnelModal(true)}
|
||||
onClick={() => setTunnelChecking(false)}
|
||||
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>
|
||||
</button>
|
||||
@@ -707,9 +707,9 @@ export default function APIPageClient({ machineId }) {
|
||||
{tsProgress || "Connecting..."}
|
||||
</div>
|
||||
<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"
|
||||
title="Disable Tailscale"
|
||||
title="Stop"
|
||||
>
|
||||
<span className="material-symbols-outlined text-[18px]">power_settings_new</span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user