1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix edit kube resource tab not respecting changes to current draft (#5878)

This commit is contained in:
Sebastian Malton 2022-07-22 09:14:48 -07:00 committed by GitHub
parent d8c62fff82
commit 4e4690f15f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,7 +154,7 @@ class NonInjectedEditResource extends React.Component<EditResourceProps & Depend
value={draft}
onChange={draft => {
this.error = "";
tabData.draft = draft;
this.draft = tabData.draft = draft;
}}
onError={error => this.error = String(error)}
/>