fix chat message pagination (#278)
This commit is contained in:
parent
1e436bdb67
commit
f7d0bd1b1f
@ -235,7 +235,7 @@ export default function Chat() {
|
|||||||
<Table
|
<Table
|
||||||
size="small"
|
size="small"
|
||||||
className="table-container"
|
className="table-container"
|
||||||
pagination={{ pageSize: 100 }}
|
pagination={{ defaultPageSize: 100, showSizeChanger: true }}
|
||||||
scroll={{ y: 540 }}
|
scroll={{ y: 540 }}
|
||||||
rowClassName={record => (record.hiddenAt ? 'hidden' : '')}
|
rowClassName={record => (record.hiddenAt ? 'hidden' : '')}
|
||||||
dataSource={messages}
|
dataSource={messages}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user