Skip to content

Commit 2a370bf

Browse files
authored
Merge pull request #630 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents 72d1b06 + fb37af3 commit 2a370bf

File tree

19 files changed

+659
-71
lines changed

19 files changed

+659
-71
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cipp",
3-
"version": "8.7.0",
3+
"version": "8.7.1",
44
"author": "CIPP Contributors",
55
"homepage": "https://cipp.app/",
66
"bugs": {
@@ -114,4 +114,4 @@
114114
"eslint": "9.35.0",
115115
"eslint-config-next": "15.5.2"
116116
}
117-
}
117+
}

public/version.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "8.7.0"
3-
}
2+
"version": "8.7.1"
3+
}

src/components/CippComponents/CippApiLogsDrawer.jsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const CippApiLogsDrawer = ({
1010
apiFilter = null,
1111
tenantFilter = null,
1212
standardFilter = null,
13+
scheduledTaskFilter = null,
1314
requiredPermissions = [],
1415
PermissionButton = Button,
1516
title = "API Logs",
@@ -28,7 +29,9 @@ export const CippApiLogsDrawer = ({
2829
// Build the API URL with the filter
2930
const apiUrl = `/api/ListLogs?Filter=true${apiFilter ? `&API=${apiFilter}` : ""}${
3031
tenantFilter ? `&Tenant=${tenantFilter}` : ""
31-
}${standardFilter ? `&StandardTemplateId=${standardFilter}` : ""}`;
32+
}${standardFilter ? `&StandardTemplateId=${standardFilter}` : ""}${
33+
scheduledTaskFilter ? `&ScheduledTaskId=${scheduledTaskFilter}` : ""
34+
}`;
3235

3336
// Define the columns for the logs table
3437
const simpleColumns = [
@@ -74,7 +77,9 @@ export const CippApiLogsDrawer = ({
7477
url: apiUrl,
7578
dataKey: "",
7679
}}
77-
queryKey={`APILogs-${apiFilter || "All"}`}
80+
queryKey={`APILogs-${apiFilter || "All"}-${tenantFilter || "AllTenants"}-${
81+
standardFilter || "NoStandard"
82+
}-${scheduledTaskFilter || "NoTask"}`}
7883
simpleColumns={simpleColumns}
7984
exportEnabled={true}
8085
offCanvas={{

0 commit comments

Comments
 (0)