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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-07-22 09:40:11 -04:00
parent d8c62fff82
commit 0904324827

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)}
/>