@@ -98,13 +98,6 @@ export const CippAuditLogSearchDrawer = ({
9898 ) ;
9999 }
100100
101- // Extract values from ServiceFilters array
102- if ( Array . isArray ( formattedData . ServiceFilters ) ) {
103- formattedData . ServiceFilters = formattedData . ServiceFilters . map ( ( item ) =>
104- typeof item === "object" ? item . value : item
105- ) ;
106- }
107-
108101 // Extract values from OperationsFilters array
109102 if ( Array . isArray ( formattedData . OperationsFilters ) ) {
110103 formattedData . OperationsFilters = formattedData . OperationsFilters . map ( ( item ) =>
@@ -206,28 +199,6 @@ export const CippAuditLogSearchDrawer = ({
206199 validators : { required : "End time is required" } ,
207200 required : true ,
208201 } ,
209- {
210- type : "autoComplete" ,
211- name : "ServiceFilters" ,
212- label : "Services" ,
213- multiple : true ,
214- creatable : false ,
215- options : [
216- { label : "Azure Active Directory" , value : "AzureActiveDirectory" } ,
217- { label : "Dynamics 365" , value : "CRM" } ,
218- { label : "Exchange Online" , value : "Exchange" } ,
219- { label : "Microsoft Flow" , value : "MicrosoftFlow" } ,
220- { label : "Microsoft Teams" , value : "MicrosoftTeams" } ,
221- { label : "OneDrive for Business" , value : "OneDrive" } ,
222- { label : "Power BI" , value : "PowerBI" } ,
223- { label : "Security & Compliance" , value : "ThreatIntelligence" } ,
224- { label : "SharePoint Online" , value : "SharePoint" } ,
225- { label : "Yammer" , value : "Yammer" } ,
226- ] ,
227- validators : {
228- validate : ( values ) => values ?. length > 0 || "Please select at least one service" ,
229- } ,
230- } ,
231202 {
232203 type : "autoComplete" ,
233204 name : "RecordTypeFilters" ,
0 commit comments