@@ -904,8 +904,13 @@ const ExecutiveReportDocument = ({
904
904
</ Text >
905
905
< Text style = { [ styles . cellDesc , { width : 80 , marginLeft : 8 , fontSize : 6 } ] } >
906
906
{ ( ( ) => {
907
- if ( typeof control . tags === 'object' ) {
908
- console . log ( 'DEBUG: control.tags is an object:' , control . tags , 'for control:' , control . name ) ;
907
+ if ( typeof control . tags === "object" ) {
908
+ console . log (
909
+ "DEBUG: control.tags is an object:" ,
910
+ control . tags ,
911
+ "for control:" ,
912
+ control . name
913
+ ) ;
909
914
}
910
915
return control . tags ;
911
916
} ) ( ) }
@@ -1274,8 +1279,13 @@ const ExecutiveReportDocument = ({
1274
1279
< Text style = { [ styles . cellName , { width : 200 , fontSize : 7 , marginLeft : 0 } ] } >
1275
1280
{ ( ( ) => {
1276
1281
const licenseValue = license . License || license . license || "N/A" ;
1277
- if ( typeof licenseValue === 'object' ) {
1278
- console . log ( 'DEBUG: license name is an object:' , licenseValue , 'full license:' , license ) ;
1282
+ if ( typeof licenseValue === "object" ) {
1283
+ console . log (
1284
+ "DEBUG: license name is an object:" ,
1285
+ licenseValue ,
1286
+ "full license:" ,
1287
+ license
1288
+ ) ;
1279
1289
}
1280
1290
return licenseValue ;
1281
1291
} ) ( ) }
@@ -1288,8 +1298,13 @@ const ExecutiveReportDocument = ({
1288
1298
>
1289
1299
{ ( ( ) => {
1290
1300
const countUsed = license . CountUsed || license . countUsed || "0" ;
1291
- if ( typeof countUsed === 'object' ) {
1292
- console . log ( 'DEBUG: license.CountUsed is an object:' , countUsed , 'full license:' , license ) ;
1301
+ if ( typeof countUsed === "object" ) {
1302
+ console . log (
1303
+ "DEBUG: license.CountUsed is an object:" ,
1304
+ countUsed ,
1305
+ "full license:" ,
1306
+ license
1307
+ ) ;
1293
1308
}
1294
1309
return countUsed ;
1295
1310
} ) ( ) }
@@ -1298,9 +1313,15 @@ const ExecutiveReportDocument = ({
1298
1313
style = { [ styles . cellName , { width : 60 , textAlign : "center" , fontSize : 8 } ] }
1299
1314
>
1300
1315
{ ( ( ) => {
1301
- const countAvailable = license . CountAvailable || license . countAvailable || "0" ;
1302
- if ( typeof countAvailable === 'object' ) {
1303
- console . log ( 'DEBUG: license.CountAvailable is an object:' , countAvailable , 'full license:' , license ) ;
1316
+ const countAvailable =
1317
+ license . CountAvailable || license . countAvailable || "0" ;
1318
+ if ( typeof countAvailable === "object" ) {
1319
+ console . log (
1320
+ "DEBUG: license.CountAvailable is an object:" ,
1321
+ countAvailable ,
1322
+ "full license:" ,
1323
+ license
1324
+ ) ;
1304
1325
}
1305
1326
return countAvailable ;
1306
1327
} ) ( ) }
@@ -1313,8 +1334,13 @@ const ExecutiveReportDocument = ({
1313
1334
>
1314
1335
{ ( ( ) => {
1315
1336
const totalLicenses = license . TotalLicenses || license . totalLicenses || "0" ;
1316
- if ( typeof totalLicenses === 'object' ) {
1317
- console . log ( 'DEBUG: license.TotalLicenses is an object:' , totalLicenses , 'full license:' , license ) ;
1337
+ if ( typeof totalLicenses === "object" ) {
1338
+ console . log (
1339
+ "DEBUG: license.TotalLicenses is an object:" ,
1340
+ totalLicenses ,
1341
+ "full license:" ,
1342
+ license
1343
+ ) ;
1318
1344
}
1319
1345
return totalLicenses ;
1320
1346
} ) ( ) }
@@ -1480,17 +1506,27 @@ const ExecutiveReportDocument = ({
1480
1506
< Text style = { [ styles . cellName , { width : 120 , fontSize : 7 , marginLeft : 0 } ] } >
1481
1507
{ ( ( ) => {
1482
1508
const deviceName = device . deviceName || "N/A" ;
1483
- if ( typeof deviceName === 'object' ) {
1484
- console . log ( 'DEBUG: device.deviceName is an object:' , deviceName , 'full device:' , device ) ;
1509
+ if ( typeof deviceName === "object" ) {
1510
+ console . log (
1511
+ "DEBUG: device.deviceName is an object:" ,
1512
+ deviceName ,
1513
+ "full device:" ,
1514
+ device
1515
+ ) ;
1485
1516
}
1486
1517
return deviceName ;
1487
1518
} ) ( ) }
1488
1519
</ Text >
1489
1520
< Text style = { [ styles . cellName , { width : 70 , fontSize : 7 } ] } >
1490
1521
{ ( ( ) => {
1491
1522
const operatingSystem = device . operatingSystem || "N/A" ;
1492
- if ( typeof operatingSystem === 'object' ) {
1493
- console . log ( 'DEBUG: device.operatingSystem is an object:' , operatingSystem , 'full device:' , device ) ;
1523
+ if ( typeof operatingSystem === "object" ) {
1524
+ console . log (
1525
+ "DEBUG: device.operatingSystem is an object:" ,
1526
+ operatingSystem ,
1527
+ "full device:" ,
1528
+ device
1529
+ ) ;
1494
1530
}
1495
1531
return operatingSystem ;
1496
1532
} ) ( ) }
@@ -1506,8 +1542,13 @@ const ExecutiveReportDocument = ({
1506
1542
>
1507
1543
{ ( ( ) => {
1508
1544
const complianceState = device . complianceState || "Unknown" ;
1509
- if ( typeof complianceState === 'object' ) {
1510
- console . log ( 'DEBUG: device.complianceState is an object:' , complianceState , 'full device:' , device ) ;
1545
+ if ( typeof complianceState === "object" ) {
1546
+ console . log (
1547
+ "DEBUG: device.complianceState is an object:" ,
1548
+ complianceState ,
1549
+ "full device:" ,
1550
+ device
1551
+ ) ;
1511
1552
}
1512
1553
return complianceState ;
1513
1554
} ) ( ) }
@@ -1680,8 +1721,13 @@ const ExecutiveReportDocument = ({
1680
1721
< Text style = { [ styles . cellName , { width : 140 , fontSize : 7 , marginLeft : 0 } ] } >
1681
1722
{ ( ( ) => {
1682
1723
const displayName = policy . displayName || "N/A" ;
1683
- if ( typeof displayName === 'object' ) {
1684
- console . log ( 'DEBUG: policy.displayName is an object:' , displayName , 'full policy:' , policy ) ;
1724
+ if ( typeof displayName === "object" ) {
1725
+ console . log (
1726
+ "DEBUG: policy.displayName is an object:" ,
1727
+ displayName ,
1728
+ "full policy:" ,
1729
+ policy
1730
+ ) ;
1685
1731
}
1686
1732
return displayName ;
1687
1733
} ) ( ) }
@@ -1694,8 +1740,13 @@ const ExecutiveReportDocument = ({
1694
1740
< Text style = { [ styles . cellName , { width : 80 , fontSize : 7 } ] } >
1695
1741
{ ( ( ) => {
1696
1742
const includeApplications = policy . includeApplications || "All" ;
1697
- if ( typeof includeApplications === 'object' ) {
1698
- console . log ( 'DEBUG: policy.includeApplications is an object:' , includeApplications , 'full policy:' , policy ) ;
1743
+ if ( typeof includeApplications === "object" ) {
1744
+ console . log (
1745
+ "DEBUG: policy.includeApplications is an object:" ,
1746
+ includeApplications ,
1747
+ "full policy:" ,
1748
+ policy
1749
+ ) ;
1699
1750
}
1700
1751
return includeApplications ;
1701
1752
} ) ( ) }
0 commit comments