[backport cloud/1.35] Support fixed seed in vue (#7657)

Backport of #7510 to `cloud/1.35`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7657-backport-cloud-1-35-Support-fixed-seed-in-vue-2cf6d73d365081aca507c646c6a2b872)
by [Unito](https://www.unito.io)

Co-authored-by: AustinMroz <austin@comfy.org>
This commit is contained in:
Comfy Org PR Bot
2025-12-20 14:28:25 +09:00
committed by GitHub
parent d3ca590c03
commit cc4c6bed81

View File

@@ -150,7 +150,12 @@ const handleEditSettings = () => {
<ToggleSwitch
:model-value="isActive(option.mode)"
class="flex-shrink-0"
@update:model-value="handleToggle(option.mode)"
@update:model-value="
(v) =>
v
? handleToggle(option.mode)
: handleToggle(NumberControlMode.FIXED)
"
/>
</div>
</div>