File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -443,15 +443,15 @@ <h1>Clippy Lints</h1>
443443 </ label >
444444 </ li >
445445 < li class ="checkbox ">
446- < label ng-click ="toggleGroups(false ) ">
446+ < label ng-click ="resetGroupsToDefault( ) ">
447447 < input type ="checkbox " class ="invisible " />
448- None
448+ Default
449449 </ label >
450450 </ li >
451451 < li class ="checkbox ">
452- < label ng-click ="resetGroupsToDefault( ) ">
452+ < label ng-click ="toggleGroups(false ) ">
453453 < input type ="checkbox " class ="invisible " />
454- Default
454+ None
455455 </ label >
456456 </ li >
457457 < li role ="separator " class ="divider "> </ li >
Original file line number Diff line number Diff line change 171171 $scope . resetGroupsToDefault = function ( ) {
172172 const groups = $scope . groups ;
173173 for ( const [ key , value ] of Object . entries ( GROUPS_FILTER_DEFAULT ) ) {
174- if ( groups . hasOwnProperty ( key ) ) {
175- groups [ key ] = value ;
176- }
174+ groups [ key ] = value ;
177175 }
178176 } ;
179177
You can’t perform that action at this time.
0 commit comments