Merge "fix: fix the download data in the all networks tab"
This commit is contained in:
commit
824267546f
@ -121,7 +121,7 @@ export class Networks extends Base {
|
|||||||
return columns;
|
return columns;
|
||||||
}
|
}
|
||||||
if (this.isProjectTab) {
|
if (this.isProjectTab) {
|
||||||
return columns.filter((it) => it.dataIndex !== 'project_id');
|
return columns.filter((it) => it.dataIndex !== 'tenant_id');
|
||||||
}
|
}
|
||||||
if (this.isSharedTab) {
|
if (this.isSharedTab) {
|
||||||
return columns.filter((it) => it.dataIndex !== 'shared');
|
return columns.filter((it) => it.dataIndex !== 'shared');
|
||||||
|
@ -35,7 +35,7 @@ export const networkColumns = (self) => [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('Is Current Project'),
|
title: t('Is Current Project'),
|
||||||
dataIndex: 'project_id',
|
dataIndex: 'tenant_id',
|
||||||
render: (value) => (value === self.currentProjectId ? t('Yes') : t('No')),
|
render: (value) => (value === self.currentProjectId ? t('Yes') : t('No')),
|
||||||
hidden: self.isAdminPage,
|
hidden: self.isAdminPage,
|
||||||
sorter: false,
|
sorter: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user