Jonark
07/21/2025, 9:08 AMJimi Jokela
07/21/2025, 10:20 AMinitializationApi.addUiComponent('PlayerIncidents/ByType', {
uniqueId: 'WeeklyIncidents',
vueComponent: async () => await import('./WeeklyIncidents.vue'),
displayPermission: 'api.incident_reports.view',
})
And then for the contents of that custom card you could copy the GlobalIncidentStatisticsCard.vue, but change the endpoint inside that is being polled to a new endpoint that could copy GetPlayerIncidentReportStatistics.Jonark
07/21/2025, 10:36 AM