You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
? `${masterEnvironment?.environmentName} is already the Master environment`
176
+
: ''
177
+
}
178
+
>
179
+
<Switch
180
+
checked={isMaster}
181
+
onChange={handleMasterChange}
182
+
disabled={hasMasterEnvironment}
183
+
184
+
/>
185
+
</Tooltip>
186
+
{isMaster&&(
187
+
<spanstyle={{color: '#52c41a',fontSize: '12px'}}>
188
+
Will be Master
189
+
</span>
190
+
)}
191
+
</div>
165
192
</Form.Item>
166
193
167
-
{hasMasterEnvironment&&(
168
-
<Alert
169
-
message="Master Environment Already Exists"
170
-
description={`The environment "${masterEnvironment?.environmentName||'Unknown'}" is already set as the Master environment. Only one Master environment is allowed.`}
171
-
type="warning"
172
-
showIcon
173
-
style={{marginBottom: '16px'}}
174
-
/>
175
-
)}
176
-
177
194
<Alert
178
195
message="License Information"
179
196
description="After creating the environment, the system will automatically check the license status. Make sure the API service URL and API key are correctly configured for license validation."
0 commit comments