Prevent node change on update

This commit is contained in:
2025-10-16 22:35:29 +02:00
parent e7402f0029
commit 696a2cb18b
3 changed files with 59 additions and 1 deletions

View File

@@ -100,7 +100,8 @@ const InstanceSettingsCard: React.FC<InstanceSettingsCardProps> = ({
value={selectedNode}
onChange={handleNodeChange}
options={nodeOptions}
description="Select the node where the instance will run (default: main node)"
description={isEditing ? "Node cannot be changed after instance creation" : "Select the node where the instance will run"}
disabled={isEditing}
/>
)}