feat: add workflow profiles to restrict status filtering and sync queue counts by license type

This commit is contained in:
estifanos
2026-08-18 10:07:22 +00:00
parent 2d91092a6b
commit de0dcbfbe8
3 changed files with 85 additions and 6 deletions

View File

@@ -398,8 +398,11 @@ export const licensingApi = baseApi
* claim or a decision refreshes the badges along with the list and the
* numbers can never drift from what the grid is showing.
*/
getQueueCounts: builder.query<QueueCounts, void>({
query: () => ({ url: '/license-application-review/counts' }),
getQueueCounts: builder.query<QueueCounts, string | void>({
query: (licenseTypeKey) => ({
url: '/license-application-review/counts',
params: licenseTypeKey ? { licenseTypeKey } : undefined,
}),
providesTags: () => [listTag('ApplicationQueue')],
}),