-
Manuell bearbeiten
+
+
+
Manuell bearbeiten
} onClick={fetchData} loading={loading} />
@@ -124,9 +125,10 @@ export default function ManuellBearbeitenPage() {
dataSource={data}
rowKey="id"
loading={loading}
- pagination={{ pageSize: 20 }}
+ pagination={{ pageSize: 20, showSizeChanger: true, showTotal: (t) => `${t} Dokumente` }}
+ locale={{ emptyText: 'Keine Einträge vorhanden' }}
/>
-
+
1}
/>
-
-
+
);
}
diff --git a/paperless-frontend/src/pages/PosteingangPage.tsx b/paperless-frontend/src/pages/PosteingangPage.tsx
index b612c1a..8448f5d 100644
--- a/paperless-frontend/src/pages/PosteingangPage.tsx
+++ b/paperless-frontend/src/pages/PosteingangPage.tsx
@@ -1,7 +1,9 @@
import { useEffect, useState } from 'react';
-import { Table, Popover, Button, Space, message, ConfigProvider, Tooltip } from 'antd';
+import { Table, Popover, Button, Space, message, Tooltip, Typography } from 'antd';
import { AuthImage } from '../utils/auth-resource';
import { ReloadOutlined } from '@ant-design/icons';
+
+const { Title } = Typography;
import dayjs from 'dayjs';
import { posteingangApi } from '../api/posteingang';
import type { PosteingangDocument } from '../api/posteingang';
@@ -98,7 +100,7 @@ export default function PosteingangPage() {
render: (text: string) => dayjs(text).format('DD.MM.YYYY HH:mm'),
},
{
- title: 'Aktion',
+ title: 'Aktionen',
key: 'action',
width: 150,
render: (_: any, record: PosteingangDocument) => (
@@ -110,10 +112,9 @@ export default function PosteingangPage() {
];
return (
-
-
-
-
Posteingang
+
+
+
Posteingang
} onClick={fetchData} loading={loading} />
@@ -125,9 +126,10 @@ export default function PosteingangPage() {
dataSource={data}
rowKey="id"
loading={loading}
- pagination={{ pageSize: 20 }}
+ pagination={{ pageSize: 20, showSizeChanger: true, showTotal: (t) => `${t} Dokumente` }}
+ locale={{ emptyText: 'Keine Einträge vorhanden' }}
/>
-
+
1}
/>
-
-
+
);
}
diff --git a/paperless-frontend/src/pages/TaskLogPage.tsx b/paperless-frontend/src/pages/TaskLogPage.tsx
index d98832d..3e50a7f 100644
--- a/paperless-frontend/src/pages/TaskLogPage.tsx
+++ b/paperless-frontend/src/pages/TaskLogPage.tsx
@@ -161,6 +161,7 @@ export default function TaskLogPage() {
rowKey="TaskId"
loading={loading}
pagination={{ pageSize: 20 }}
+ locale={{ emptyText: 'Keine Einträge vorhanden' }}
/>