Jon/sky 5838 launch the power restart feature for all users with a cooldown (#3133)

This commit is contained in:
Jonathan Dobson
2025-08-07 17:13:02 -04:00
committed by GitHub
parent 4c219b7f05
commit b0e29834eb
4 changed files with 119 additions and 35 deletions

View File

@@ -18,7 +18,6 @@ import {
import { flushSync } from "react-dom";
import Draggable from "react-draggable";
import { OrgWalled } from "./Orgwalled";
import {
Tooltip,
TooltipContent,
@@ -628,11 +627,7 @@ function FloatingWindow({
onClick={toggleMaximized}
/>
)}
{showPowerButton && (
<OrgWalled className="flex items-center justify-center">
<PowerButton onClick={() => cycle()} />
</OrgWalled>
)}
{showPowerButton && <PowerButton onClick={() => cycle()} />}
</div>
<div className="ml-auto">{title}</div>
{showReloadButton && (