|
|
@@ -340,13 +340,19 @@ class APIGroupCardRender extends Component {
|
|
|
{
|
|
|
manageUsers.includes(this.props.userID) ?
|
|
|
<div>
|
|
|
- <Button onClick={()=>{
|
|
|
- this.props.stepByStep(0)
|
|
|
- }}><FormattedMessage id="previous-step"/></Button>
|
|
|
- <Button onClick={() => {
|
|
|
- const id = idGen('group');
|
|
|
- this.ok(id, this.props.userID, this.props.projectID, this.props.cloudID, this.props.group);
|
|
|
- }} type='primary'><FormattedMessage id="save"/></Button>
|
|
|
+ <div>
|
|
|
+ {
|
|
|
+ this.props.stepAllShow ? '' :
|
|
|
+ <Button onClick={() => {
|
|
|
+ this.props.stepByStep(0)
|
|
|
+ }}><FormattedMessage id="previous-step"/></Button>
|
|
|
+
|
|
|
+ }
|
|
|
+ <Button onClick={() => {
|
|
|
+ const id = idGen('group');
|
|
|
+ this.ok(id, this.props.userID, this.props.projectID, this.props.cloudID, this.props.group);
|
|
|
+ }} type='primary'><FormattedMessage id="save"/></Button>
|
|
|
+ </div>
|
|
|
{
|
|
|
this.state.showOK === true ?
|
|
|
<Icon type="check-circle" theme="twoTone" twoToneColor="#52c41a"/>
|
|
|
@@ -359,13 +365,19 @@ class APIGroupCardRender extends Component {
|
|
|
''
|
|
|
:
|
|
|
<div>
|
|
|
- <Button onClick={()=>{
|
|
|
- this.props.stepByStep(0)
|
|
|
- }}><FormattedMessage id="previous-step"/></Button>
|
|
|
- <Button onClick={() => {
|
|
|
- const id = idGen('group');
|
|
|
- this.ok(id, this.props.userID, this.props.projectID, this.props.cloudID, this.props.group);
|
|
|
- }} type='primary'><FormattedMessage id="save"/></Button>
|
|
|
+ <div>
|
|
|
+ {
|
|
|
+ this.props.stepAllShow ? '' :
|
|
|
+ <Button onClick={() => {
|
|
|
+ this.props.stepByStep(0)
|
|
|
+ }}><FormattedMessage id="previous-step"/></Button>
|
|
|
+
|
|
|
+ }
|
|
|
+ <Button onClick={() => {
|
|
|
+ const id = idGen('group');
|
|
|
+ this.ok(id, this.props.userID, this.props.projectID, this.props.cloudID, this.props.group);
|
|
|
+ }} type='primary'><FormattedMessage id="save"/></Button>
|
|
|
+ </div>
|
|
|
{
|
|
|
this.state.showOK === true ?
|
|
|
<Icon type="check-circle" theme="twoTone"
|