|
@@ -145,15 +145,20 @@ class SettingsPage extends Component<PropsType, StateType> {
|
|
|
</Helper>
|
|
</Helper>
|
|
|
<PorterFormWrapper
|
|
<PorterFormWrapper
|
|
|
formData={form}
|
|
formData={form}
|
|
|
- valuesToOverride={valuesToOverride}
|
|
|
|
|
- isReadOnly={!this.props.isAuthorized("namespace", "", ["get", "create"])}
|
|
|
|
|
- onSubmit={onSubmit}
|
|
|
|
|
saveValuesStatus={saveValuesStatus}
|
|
saveValuesStatus={saveValuesStatus}
|
|
|
|
|
+ valuesToOverride={valuesToOverride}
|
|
|
externalValues={{
|
|
externalValues={{
|
|
|
namespace: selectedNamespace,
|
|
namespace: selectedNamespace,
|
|
|
clusterId: this.context.currentCluster.id,
|
|
clusterId: this.context.currentCluster.id,
|
|
|
isLaunch: true,
|
|
isLaunch: true,
|
|
|
}}
|
|
}}
|
|
|
|
|
+ isReadOnly={
|
|
|
|
|
+ !this.props.isAuthorized("namespace", "", ["get", "create"])
|
|
|
|
|
+ }
|
|
|
|
|
+ onSubmit={(val) => {
|
|
|
|
|
+ console.log(val);
|
|
|
|
|
+ onSubmit(val)
|
|
|
|
|
+ }}
|
|
|
/>
|
|
/>
|
|
|
</>
|
|
</>
|
|
|
);
|
|
);
|