Skip to content

Commit

Permalink
[issue_1135][tail-ui] fix The uploaded yarn configuration is not refr…
Browse files Browse the repository at this point in the history
…eshed (#1143)

🔗 相关 Issue
feat #1135
解决集群配置删除部分无效key-value值后,重新上传不更新,保存无法生效的问题
  • Loading branch information
feelshana authored Nov 28, 2023
1 parent 181410c commit cade092
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions taier-ui/src/pages/console/cluster/detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,9 @@ export default function ClusterDetail() {
};

const handleUpdateConfig = (params: Record<string, string>, file: RcFile) => {
form.resetFields(['config']);
form.setFieldsValue({ config: params, uploadFileName: file });

setEdited((p) => ({ ...p, [selectedKey!]: true }));
};

Expand Down

0 comments on commit cade092

Please sign in to comment.