From fa0bc8ecb9a2c83eec7a2fa0dca2125ec9303431 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Fri, 12 Feb 2021 17:21:53 +0100 Subject: [PATCH] fix manager options for new IC --- src/ic/new-ic.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/ic/new-ic.js b/src/ic/new-ic.js index b95b543..2e81887 100644 --- a/src/ic/new-ic.js +++ b/src/ic/new-ic.js @@ -154,6 +154,16 @@ class NewICDialog extends React.Component { default: typeOptions =[]; } + + let managerOptions = []; + managerOptions.push(); + for (let m of this.props.managers) { + managerOptions.push ( + + ); + } + + return ( this.onClose(c)} onReset={() => this.resetState()} valid={this.validateForm()}>
@@ -171,9 +181,7 @@ class NewICDialog extends React.Component { Manager to create new IC * this.handleChange(e)}> - {this.props.managers.map((m) => ( - - ))} + {managerOptions} :