Add pagination to saves list (#592)

Prevent the saves list from pushing the console and config off the
screen by turning on the pagination for it.
This commit is contained in:
Hornwitser authored and GitHub committed 2024-02-12 17:24:00 +01:00
1 parent e5a4d51c86
commit abcbf3fddc
3 files changed
+14 -1

No files matched your search

+1 -1
View File
@@ -207,6 +207,7 @@ export default function SavesList(props: { instance: lib.InstanceDetails }) {
let hostOffline = ["unassigned", "unknown"].includes(props.instance.status!);
const saveTable = <Table
className="save-list-table"
size="small"
columns={[
{
@@ -236,7 +237,6 @@ export default function SavesList(props: { instance: lib.InstanceDetails }) {
]}
dataSource={[...saves.values()]}
rowKey={save => save.name}
pagination={false}
expandable={{
columnWidth: 33,
expandRowByClick: true,