Fix package updater

This commit is contained in:
Cooldude2606 committed 2025-11-07 21:48:09 +00:00
1 parent 43def44136
commit 86a9084d56
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -187,7 +187,7 @@ export function NpmButton(props: { target: lib.AddressShorthand, canRestart?: bo
{
formAction !== undefined
&& account.hasPermission(`core.${props.target === "controller" ? "controller" : "host"}.restart`)
&& <Form.Item label="Restart on completion" name="restart">
&& <Form.Item label="Restart on completion" name="restart" valuePropName="checked">
<Checkbox disabled={props.canRestart === false}/>
</Form.Item>
}