@@ -495,6 +495,15 @@ function Access() {
495
495
{
496
496
Header : "Application" ,
497
497
accessor : "agentId" ,
498
+ Cell : ( rawValue ) => {
499
+ if ( ! isEmpty ( rawValue ?. value ) ) {
500
+ return (
501
+ < div className = "text-truncate" title = { rawValue . value } >
502
+ { rawValue . value }
503
+ </ div >
504
+ ) ;
505
+ } else return "--" ;
506
+ } ,
498
507
width : 100 ,
499
508
disableResizing : true ,
500
509
disableSortBy : true ,
@@ -503,6 +512,15 @@ function Access() {
503
512
{
504
513
Header : "User" ,
505
514
accessor : "requestUser" ,
515
+ Cell : ( rawValue ) => {
516
+ if ( ! isEmpty ( rawValue ?. value ) ) {
517
+ return (
518
+ < div className = "text-truncate" title = { rawValue . value } >
519
+ { rawValue . value }
520
+ </ div >
521
+ ) ;
522
+ } else return "--" ;
523
+ } ,
506
524
width : 120 ,
507
525
disableResizing : true ,
508
526
getResizerProps : ( ) => { }
@@ -542,7 +560,10 @@ function Access() {
542
560
543
561
if ( ! isUndefined ( resourcePath ) || ! isUndefined ( requestData ) ) {
544
562
let resourcePathText = isEmpty ( resourcePath ) ? "--" : resourcePath ;
545
- let resourceTypeText = isEmpty ( resourceType ) || resourceType == "@null" ? "--" : resourceType ;
563
+ let resourceTypeText =
564
+ isEmpty ( resourceType ) || resourceType == "@null"
565
+ ? "--"
566
+ : resourceType ;
546
567
return (
547
568
< React . Fragment >
548
569
< div className = "clearfix d-flex flex-nowrap m-0" >
@@ -569,7 +590,13 @@ function Access() {
569
590
Header : "Access Type" ,
570
591
accessor : "accessType" ,
571
592
Cell : ( rawValue ) => {
572
- return < p className = "text-truncate" > { rawValue . value } </ p > ;
593
+ if ( ! isEmpty ( rawValue ?. value ) ) {
594
+ return (
595
+ < div className = "text-truncate" title = { rawValue . value } >
596
+ { rawValue . value }
597
+ </ div >
598
+ ) ;
599
+ } else return "--" ;
573
600
} ,
574
601
width : 130 ,
575
602
disableResizing : true ,
@@ -581,11 +608,7 @@ function Access() {
581
608
Cell : ( rawValue ) => {
582
609
return (
583
610
< h6 >
584
- < Badge
585
- bg = "info"
586
- title = { rawValue . value }
587
- className = "text-truncate mw-100"
588
- >
611
+ < Badge bg = "info" title = { rawValue . value } className = "text-truncate" >
589
612
{ rawValue . value }
590
613
</ Badge >
591
614
</ h6 >
@@ -620,6 +643,15 @@ function Access() {
620
643
{
621
644
Header : "Access Enforcer" ,
622
645
accessor : "aclEnforcer" ,
646
+ Cell : ( rawValue ) => {
647
+ if ( ! isEmpty ( rawValue ?. value ) ) {
648
+ return (
649
+ < div className = "text-truncate" title = { rawValue . value } >
650
+ { rawValue . value }
651
+ </ div >
652
+ ) ;
653
+ } else return "--" ;
654
+ } ,
623
655
width : 120 ,
624
656
disableResizing : true ,
625
657
getResizerProps : ( ) => { }
@@ -644,6 +676,15 @@ function Access() {
644
676
{
645
677
Header : "Client IP" ,
646
678
accessor : "clientIP" ,
679
+ Cell : ( rawValue ) => {
680
+ if ( ! isEmpty ( rawValue ?. value ) ) {
681
+ return (
682
+ < div className = "text-truncate" title = { rawValue . value } >
683
+ { rawValue . value }
684
+ </ div >
685
+ ) ;
686
+ } else return "--" ;
687
+ } ,
647
688
width : 110 ,
648
689
disableResizing : true ,
649
690
getResizerProps : ( ) => { }
@@ -656,7 +697,11 @@ function Access() {
656
697
disableSortBy : true ,
657
698
Cell : ( rawValue ) => {
658
699
if ( ! isEmpty ( rawValue ?. value ) ) {
659
- return < div className = "text-truncate" > { rawValue . value } </ div > ;
700
+ return (
701
+ < div className = "text-truncate" title = { rawValue . value } >
702
+ { rawValue . value }
703
+ </ div >
704
+ ) ;
660
705
} else {
661
706
return < div className = "text-center" > --</ div > ;
662
707
}
@@ -670,7 +715,11 @@ function Access() {
670
715
if ( ! isEmpty ( rawValue ?. value ) ) {
671
716
return (
672
717
< h6 >
673
- < Badge bg = "dark" className = "text-truncate mw-100" >
718
+ < Badge
719
+ bg = "dark"
720
+ className = "text-truncate"
721
+ title = { rawValue . value }
722
+ >
674
723
{ rawValue . value }
675
724
</ Badge >
676
725
</ h6 >
0 commit comments