diff --git a/app/portainer/user-activity/auth-logs-view/auth-logs-view.controller.js b/app/portainer/user-activity/auth-logs-view/auth-logs-view.controller.js index 45c74c7bf..f46221ed0 100644 --- a/app/portainer/user-activity/auth-logs-view/auth-logs-view.controller.js +++ b/app/portainer/user-activity/auth-logs-view/auth-logs-view.controller.js @@ -85,7 +85,7 @@ export default class AuthLogsViewController { return this.$async(async () => { this.state.logs = null; try { - const { logs, totalCount } = { logs: [{}, {}, {}, {}, {}], totalCount: 5 }; + const { logs, totalCount } = { logs: [], totalCount: 0 }; this.state.logs = decorateLogs(logs); this.state.totalItems = totalCount; } catch (err) { diff --git a/app/portainer/user-activity/auth-logs-view/auth-logs-view.html b/app/portainer/user-activity/auth-logs-view/auth-logs-view.html index 86c1de947..f59f27584 100644 --- a/app/portainer/user-activity/auth-logs-view/auth-logs-view.html +++ b/app/portainer/user-activity/auth-logs-view/auth-logs-view.html @@ -1,49 +1,52 @@ - +
- -
- - -
-
- -
- + + +
+
+
+ + +
+
+ +
+ +
+
-
-
-

- - Portainer user authentication activity logs have a maximum retention of 7 days. -

-
- -
- - -
- +

+ + Portainer user authentication logs have a maximum retention of 7 days. +

+
+ +
+ + +
+
diff --git a/app/react/portainer/logs/ActivityLogsView/ActivityLogsTable.tsx b/app/react/portainer/logs/ActivityLogsView/ActivityLogsTable.tsx index 65a791da4..8d6aac160 100644 --- a/app/react/portainer/logs/ActivityLogsView/ActivityLogsTable.tsx +++ b/app/react/portainer/logs/ActivityLogsView/ActivityLogsTable.tsx @@ -75,7 +75,7 @@ export function ActivityLogsTable({ }) { return ( - title="Activity Logs" + title="Activity logs" titleIcon={History} columns={columns} dataset={dataset || []} diff --git a/app/react/portainer/logs/ActivityLogsView/ActivityLogsView.tsx b/app/react/portainer/logs/ActivityLogsView/ActivityLogsView.tsx index 59f18f7d0..9d3ff502e 100644 --- a/app/react/portainer/logs/ActivityLogsView/ActivityLogsView.tsx +++ b/app/react/portainer/logs/ActivityLogsView/ActivityLogsView.tsx @@ -38,10 +38,14 @@ export function ActivityLogsView() { return ( <> - +
- + - title="Authentication Events" + title="Authentication events" titleIcon={History} columns={columns} dataset={dataset || []}