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

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-07-22 12:14:48 -04:00
1 parent d8c62fff82
commit 4e4690f15f
1 file changed
+1 -1
@@ -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)}
/>