add localized labels for activity log types in useActivityLogFilters

add missing activity log types in filters
This commit is contained in:
Abhinav Raut
2025-12-29 11:17:47 +05:30
parent 09546b5b15
commit 050c502c8e
2 changed files with 18 additions and 5 deletions
@@ -20,20 +20,26 @@ export function useActivityLogFilters () {
type: FIELD_TYPE.SELECT,
operators: FIELD_OPERATORS.SELECT,
options: [{
label: 'Agent login',
label: t('activityLog.type.agentLogin'),
value: 'agent_login'
}, {
label: 'Agent logout',
label: t('activityLog.type.agentLogout'),
value: 'agent_logout'
}, {
label: 'Agent away',
label: t('activityLog.type.agentAway'),
value: 'agent_away'
}, {
label: 'Agent away reassigned',
label: t('activityLog.type.agentAwayReassigned'),
value: 'agent_away_reassigned'
}, {
label: 'Agent online',
label: t('activityLog.type.agentOnline'),
value: 'agent_online'
}, {
label: t('activityLog.type.agentPasswordSet'),
value: 'agent_password_set'
}, {
label: t('activityLog.type.agentRolePermissionsChanged'),
value: 'agent_role_permissions_changed'
}]
},
}))
+7
View File
@@ -21,6 +21,13 @@
"globals.terms.actor": "Actor | Actors",
"globals.terms.page": "Page | Pages",
"globals.terms.activityLog": "Activity log | Activity logs",
"activityLog.type.agentLogin": "Agent login",
"activityLog.type.agentLogout": "Agent logout",
"activityLog.type.agentAway": "Agent away",
"activityLog.type.agentAwayReassigned": "Agent away reassigned",
"activityLog.type.agentOnline": "Agent online",
"activityLog.type.agentPasswordSet": "Agent password set",
"activityLog.type.agentRolePermissionsChanged": "Agent role permissions changed",
"globals.terms.name": "Name | Names",
"globals.terms.image": "Image | Images",
"globals.terms.thumbnail": "Thumbnail | Thumbnails",