Merge "fix: fix the download data in the all networks tab"

This commit is contained in:
Zuul 2022-10-18 09:22:09 +00:00 committed by Gerrit Code Review
commit 824267546f
2 changed files with 2 additions and 2 deletions

View File

@ -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');

View File

@ -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,