The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Admin tokens: the form compares its ticks with the read-only preset as a list it doesn't change
Adarsh27156b258104
diff --git a/src/components/admin-tokens.tsx b/src/components/admin-tokens.tsxindex 2e6a35f7..70297c51 100644--- a/src/components/admin-tokens.tsx+++ b/src/components/admin-tokens.tsx@@ -133,7 +133,7 @@ function CreateForm({ scopes, onMade, onCancel }: { scopes: AdminTokensAnswer["sconst [expiry, setExpiry] = useState("90");const [busy, setBusy] = useState(false);const all = scopes.map((s) => s.id);- const same = (ids: string[]) => ids.length === picked.size && ids.every((s) => picked.has(s));+ const same = (ids: readonly string[]) => ids.length === picked.size && ids.every((s) => picked.has(s));const create = async () => {setBusy(true);try {