File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,7 @@ export const reset = (formId) => {
2929  const  dateInputs  =  document . querySelectorAll ( `#${ formId }   input[type=date]` ) ; 
3030  if  ( dateInputs . length  >  0 )  { 
3131    // Reset date inputs 
32-     document 
33-       . querySelectorAll ( `#${ formId }   input[type=date]` ) 
34-       . forEach ( ( el )  =>  ( el . value  =  "" ) ) ; 
32+     document . querySelectorAll ( `#${ formId }   input[type=date]` ) . forEach ( ( el )  =>  ( el . value  =  "" ) ) ; 
3533  } 
3634
3735  // Reset text search input 
@@ -64,7 +62,7 @@ export const resetDateFiltersOnCalendarViewMode = () => {
6462      input . value  =  "" ; 
6563    } 
6664  } ) ; 
67- } 
65+ } ; 
6866
6967// Select "Any" option for the given filter name. 
7068export  const  selectAnyOption  =  ( name ,  type ,  triggerChange )  =>  { 
@@ -169,7 +167,7 @@ export function getFirstAndLastDayOfMonth(date) {
169167  const  firstDayMonth  =  `${ currentDate . getFullYear ( ) }  -${ month }  -01` ; 
170168  const  lastDayMonth  =  `${ currentDate . getFullYear ( ) }  -${ month }  -${ lastDay . getDate ( ) }  ` ; 
171169
172-   return  { first : firstDayMonth ,  last : lastDayMonth } ; 
170+   return  {   first : firstDayMonth ,  last : lastDayMonth   } ; 
173171} 
174172
175173// Update date input with motnhly range. 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments