Merge "fix: Fix for newtork config show"

This commit is contained in:
Zuul 2021-09-01 04:16:23 +00:00 committed by Gerrit Code Review
commit 66415afea8
2 changed files with 10 additions and 1 deletions

View File

@ -238,6 +238,7 @@ export default class NetworkSelect extends React.Component {
<span className={styles.subnet_options_cidr}>{it.cidr}</span>
</div>
),
name: it.name,
value: it.id,
}));
};

View File

@ -12,9 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import React from 'react';
import { inject, observer } from 'mobx-react';
import Base from 'components/Form';
import { physicalNodeTypes } from 'resources/instance';
import { Col, Row } from 'antd';
export class ConfirmStep extends Base {
init() {}
@ -81,7 +83,13 @@ export class ConfirmStep extends Base {
ipTypeOption.label
} ${subnet} ${ipTypeOption.value === 1 ? ip : ''}`;
});
return values;
return (
<Row>
{values.map((i) => (
<Col span={24}>{i}</Col>
))}
</Row>
);
// return values.join(<br />);
}