Adjusted for feedback

This commit is contained in:
Evgeniya Vashkevich 2025-03-10 12:15:25 -07:00
parent 2812b1d180
commit 4594c0c213
2 changed files with 2 additions and 6 deletions

View File

@ -253,11 +253,7 @@ export default defineComponent({
},
async actuallySave() {
if (this.isEdit) {
if (this.needsReplace) {
return await this.normanCluster._save({ replace: true });
} else {
return await this.normanCluster.save();
}
return await this.normanCluster.save({ replace: this.needsReplace });
} else {
await this.normanCluster.save();

View File

@ -2425,11 +2425,11 @@ export default {
<!-- Cluster Agent Configuration -->
<Tab
v-if="value.spec.clusterAgentDeploymentCustomization"
name="clusteragentconfig"
label-key="cluster.agentConfig.tabs.cluster"
>
<AgentConfiguration
v-if="value.spec.clusterAgentDeploymentCustomization"
v-model:value="value.spec.clusterAgentDeploymentCustomization"
data-testid="rke2-cluster-agent-config"
type="cluster"