mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-24 08:20:31 +08:00
Fix organization search in some pages
This commit is contained in:
parent
e1c0af345f
commit
f934531083
@ -108,7 +108,7 @@ class CertListPage extends BaseListPage {
|
|||||||
key: "owner",
|
key: "owner",
|
||||||
width: "150px",
|
width: "150px",
|
||||||
sorter: true,
|
sorter: true,
|
||||||
...this.getColumnSearchProps("organization"),
|
...this.getColumnSearchProps("owner"),
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
return (text !== "admin") ? text : i18next.t("provider:admin (Shared)");
|
return (text !== "admin") ? text : i18next.t("provider:admin (Shared)");
|
||||||
},
|
},
|
||||||
|
@ -100,7 +100,7 @@ class ProductListPage extends BaseListPage {
|
|||||||
key: "owner",
|
key: "owner",
|
||||||
width: "150px",
|
width: "150px",
|
||||||
sorter: true,
|
sorter: true,
|
||||||
...this.getColumnSearchProps("organization"),
|
...this.getColumnSearchProps("owner"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: i18next.t("general:Created time"),
|
title: i18next.t("general:Created time"),
|
||||||
|
@ -111,7 +111,7 @@ class ProviderListPage extends BaseListPage {
|
|||||||
key: "owner",
|
key: "owner",
|
||||||
width: "150px",
|
width: "150px",
|
||||||
sorter: true,
|
sorter: true,
|
||||||
...this.getColumnSearchProps("organization"),
|
...this.getColumnSearchProps("owner"),
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
return (text !== "admin") ? text : i18next.t("provider:admin (Shared)");
|
return (text !== "admin") ? text : i18next.t("provider:admin (Shared)");
|
||||||
},
|
},
|
||||||
|
@ -55,10 +55,10 @@ class SessionListPage extends BaseListPage {
|
|||||||
{
|
{
|
||||||
title: i18next.t("general:Organization"),
|
title: i18next.t("general:Organization"),
|
||||||
dataIndex: "owner",
|
dataIndex: "owner",
|
||||||
key: "organization",
|
key: "owner",
|
||||||
width: "110px",
|
width: "110px",
|
||||||
sorter: true,
|
sorter: true,
|
||||||
...this.getColumnSearchProps("organization"),
|
...this.getColumnSearchProps("owner"),
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
return (
|
return (
|
||||||
<Link to={`/organizations/${text}`}>
|
<Link to={`/organizations/${text}`}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user