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>
443
443
</ label >
444
444
</ li >
445
445
< li class ="checkbox ">
446
- < label ng-click ="toggleGroups(false ) ">
446
+ < label ng-click ="resetGroupsToDefault( ) ">
447
447
< input type ="checkbox " class ="invisible " />
448
- None
448
+ Default
449
449
</ label >
450
450
</ li >
451
451
< li class ="checkbox ">
452
- < label ng-click ="resetGroupsToDefault( ) ">
452
+ < label ng-click ="toggleGroups(false ) ">
453
453
< input type ="checkbox " class ="invisible " />
454
- Default
454
+ None
455
455
</ label >
456
456
</ li >
457
457
< li role ="separator " class ="divider "> </ li >
Original file line number Diff line number Diff line change 171
171
$scope . resetGroupsToDefault = function ( ) {
172
172
const groups = $scope . groups ;
173
173
for ( const [ key , value ] of Object . entries ( GROUPS_FILTER_DEFAULT ) ) {
174
- if ( groups . hasOwnProperty ( key ) ) {
175
- groups [ key ] = value ;
176
- }
174
+ groups [ key ] = value ;
177
175
}
178
176
} ;
179
177
You can’t perform that action at this time.
0 commit comments