mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-09 11:32:55 +08:00
feat: fix table sticky columns on chat and message pages (#1917)
This commit is contained in:
@@ -82,6 +82,7 @@ class ChatListPage extends BaseListPage {
|
|||||||
dataIndex: "organization",
|
dataIndex: "organization",
|
||||||
key: "organization",
|
key: "organization",
|
||||||
width: "150px",
|
width: "150px",
|
||||||
|
fixed: "left",
|
||||||
sorter: true,
|
sorter: true,
|
||||||
...this.getColumnSearchProps("organization"),
|
...this.getColumnSearchProps("organization"),
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
@@ -165,7 +166,6 @@ class ChatListPage extends BaseListPage {
|
|||||||
dataIndex: "user1",
|
dataIndex: "user1",
|
||||||
key: "user1",
|
key: "user1",
|
||||||
width: "120px",
|
width: "120px",
|
||||||
fixed: "left",
|
|
||||||
sorter: true,
|
sorter: true,
|
||||||
...this.getColumnSearchProps("user1"),
|
...this.getColumnSearchProps("user1"),
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
@@ -181,7 +181,6 @@ class ChatListPage extends BaseListPage {
|
|||||||
dataIndex: "user2",
|
dataIndex: "user2",
|
||||||
key: "user2",
|
key: "user2",
|
||||||
width: "120px",
|
width: "120px",
|
||||||
fixed: "left",
|
|
||||||
sorter: true,
|
sorter: true,
|
||||||
...this.getColumnSearchProps("user2"),
|
...this.getColumnSearchProps("user2"),
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
|
@@ -78,6 +78,7 @@ class MessageListPage extends BaseListPage {
|
|||||||
dataIndex: "organization",
|
dataIndex: "organization",
|
||||||
key: "organization",
|
key: "organization",
|
||||||
width: "150px",
|
width: "150px",
|
||||||
|
fixed: "left",
|
||||||
sorter: true,
|
sorter: true,
|
||||||
...this.getColumnSearchProps("organization"),
|
...this.getColumnSearchProps("organization"),
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
@@ -119,7 +120,6 @@ class MessageListPage extends BaseListPage {
|
|||||||
dataIndex: "chat",
|
dataIndex: "chat",
|
||||||
key: "chat",
|
key: "chat",
|
||||||
width: "120px",
|
width: "120px",
|
||||||
fixed: "left",
|
|
||||||
sorter: true,
|
sorter: true,
|
||||||
...this.getColumnSearchProps("chat"),
|
...this.getColumnSearchProps("chat"),
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
@@ -135,7 +135,6 @@ class MessageListPage extends BaseListPage {
|
|||||||
dataIndex: "author",
|
dataIndex: "author",
|
||||||
key: "author",
|
key: "author",
|
||||||
width: "120px",
|
width: "120px",
|
||||||
fixed: "left",
|
|
||||||
sorter: true,
|
sorter: true,
|
||||||
...this.getColumnSearchProps("author"),
|
...this.getColumnSearchProps("author"),
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
|
Reference in New Issue
Block a user