File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 
DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4949                                     model =" competency.CompetencyFlags"   />
5050                        </div >
5151                        <div  class =" nhsuk-grid-column-full"  >
52-                             @if  (competency .Description   !=   null  &&  ! competency .AlwaysShowDescription )
52+                             @if  (! string . IsNullOrWhiteSpace ( competency .Description )  &&  ! competency .AlwaysShowDescription )
5353                            { 
5454                                <details  class =" nhsuk-details"  >
5555                                    <summary  class =" nhsuk-details__summary nhsuk-u-padding-0"  >
6464                            } 
6565                            else 
6666                            { 
67-                                 <p  class =" @(competency.Description != null  ? " nhsuk-u-font-weight-bold "  : " " ) nhsuk-u-margin-bottom-0"  >
67+                                 <p  class =" @(!string.IsNullOrWhiteSpace( competency.Description)  ? " nhsuk-u-font-weight-bold "  : " " ) nhsuk-u-margin-bottom-0"  >
6868                                    @competency.Name 
6969                                </p >
70-                                 @if  (competency .Description   !=   null )
70+                                 @if  (! string . IsNullOrWhiteSpace ( competency .Description ) )
7171                                { 
7272                                    <p  class =" nhsuk-u-margin-top-2"  >
7373                                        @( Html .Raw (competency .Description )) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments