Fix organization search in some pages

This commit is contained in:
Yang Luo 2023-06-06 20:50:28 +08:00
parent e1c0af345f
commit f934531083
4 changed files with 5 additions and 5 deletions

View File

@ -108,7 +108,7 @@ class CertListPage extends BaseListPage {
key: "owner",
width: "150px",
sorter: true,
...this.getColumnSearchProps("organization"),
...this.getColumnSearchProps("owner"),
render: (text, record, index) => {
return (text !== "admin") ? text : i18next.t("provider:admin (Shared)");
},

View File

@ -100,7 +100,7 @@ class ProductListPage extends BaseListPage {
key: "owner",
width: "150px",
sorter: true,
...this.getColumnSearchProps("organization"),
...this.getColumnSearchProps("owner"),
},
{
title: i18next.t("general:Created time"),

View File

@ -111,7 +111,7 @@ class ProviderListPage extends BaseListPage {
key: "owner",
width: "150px",
sorter: true,
...this.getColumnSearchProps("organization"),
...this.getColumnSearchProps("owner"),
render: (text, record, index) => {
return (text !== "admin") ? text : i18next.t("provider:admin (Shared)");
},

View File

@ -55,10 +55,10 @@ class SessionListPage extends BaseListPage {
{
title: i18next.t("general:Organization"),
dataIndex: "owner",
key: "organization",
key: "owner",
width: "110px",
sorter: true,
...this.getColumnSearchProps("organization"),
...this.getColumnSearchProps("owner"),
render: (text, record, index) => {
return (
<Link to={`/organizations/${text}`}>