0

fix chat message pagination (#278)

This commit is contained in:
Meisam 2021-08-14 21:22:05 +02:00 committed by GitHub
parent 1e436bdb67
commit f7d0bd1b1f

View File

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