fix: fix the port type display

Fix the port type display by the origin value, not use the i18n value

Change-Id: If575d278087352fe97fe528982e01f89aaa65b03
This commit is contained in:
Jingwei.Zhang 2023-04-27 17:33:27 +08:00
parent 1f8c96a5dc
commit 2939a504f1
2 changed files with 0 additions and 4 deletions

View File

@ -16,7 +16,6 @@ import React from 'react';
import { Link } from 'react-router-dom';
import { inject, observer } from 'mobx-react';
import Base from 'containers/BaseDetail';
import { bindingTypes } from 'resources/neutron/port';
import { qosEndpoint } from 'client/client/constants';
export class BaseDetail extends Base {
@ -57,7 +56,6 @@ export class BaseDetail extends Base {
{
label: t('VNIC Type'),
dataIndex: 'binding:vnic_type',
valueMap: bindingTypes,
},
];
if (this.qosEndpoint) {

View File

@ -15,7 +15,6 @@
import React from 'react';
import { inject, observer } from 'mobx-react';
import Base from 'containers/BaseDetail';
import { bindingTypes } from 'resources/neutron/port';
import { isEmpty } from 'lodash';
export class BaseDetail extends Base {
@ -146,7 +145,6 @@ export class BaseDetail extends Base {
{
label: t('VNIC Type'),
dataIndex: 'binding__vnic_type',
valueMap: bindingTypes,
},
];
if (this.detailData.binding__host_id) {