fix: Fix for newtork config show
fix for network config show Change-Id: I5448aca49a972c651e262130e0033158abe9d6ba
This commit is contained in:
parent
94b3d6ed7e
commit
8009bc8c41
@ -238,6 +238,7 @@ export default class NetworkSelect extends React.Component {
|
|||||||
<span className={styles.subnet_options_cidr}>{it.cidr}</span>
|
<span className={styles.subnet_options_cidr}>{it.cidr}</span>
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
|
name: it.name,
|
||||||
value: it.id,
|
value: it.id,
|
||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
|
@ -12,9 +12,11 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
import React from 'react';
|
||||||
import { inject, observer } from 'mobx-react';
|
import { inject, observer } from 'mobx-react';
|
||||||
import Base from 'components/Form';
|
import Base from 'components/Form';
|
||||||
import { physicalNodeTypes } from 'resources/instance';
|
import { physicalNodeTypes } from 'resources/instance';
|
||||||
|
import { Col, Row } from 'antd';
|
||||||
|
|
||||||
export class ConfirmStep extends Base {
|
export class ConfirmStep extends Base {
|
||||||
init() {}
|
init() {}
|
||||||
@ -81,7 +83,13 @@ export class ConfirmStep extends Base {
|
|||||||
ipTypeOption.label
|
ipTypeOption.label
|
||||||
} ${subnet} ${ipTypeOption.value === 1 ? ip : ''}`;
|
} ${subnet} ${ipTypeOption.value === 1 ? ip : ''}`;
|
||||||
});
|
});
|
||||||
return values;
|
return (
|
||||||
|
<Row>
|
||||||
|
{values.map((i) => (
|
||||||
|
<Col span={24}>{i}</Col>
|
||||||
|
))}
|
||||||
|
</Row>
|
||||||
|
);
|
||||||
// return values.join(<br />);
|
// return values.join(<br />);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user