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 committed 2022-07-22 09:40:11 -04:00
1 parent d8c62fff82
commit 0904324827
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)}
/>