File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
opencti-platform/opencti-front/src/private/components/common/lists Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ import useAttributes from '../../../../utils/hooks/useAttributes';
1212import { displayEntityTypeForTranslation } from '../../../../utils/String' ;
1313
1414interface SearchScopeElementProps {
15- name : string ,
16- disabled ?: boolean ,
17- searchScope : Record < string , string [ ] > ,
18- setSearchScope : React . Dispatch < React . SetStateAction < Record < string , string [ ] > > > ,
19- availableRelationFilterTypes ?: Record < string , string [ ] > ,
15+ name : string ;
16+ disabled ?: boolean ;
17+ searchScope : Record < string , string [ ] > ;
18+ setSearchScope : React . Dispatch < React . SetStateAction < Record < string , string [ ] > > > ;
19+ availableRelationFilterTypes ?: Record < string , string [ ] > ;
2020}
2121
2222const SearchScopeElement = ( {
@@ -56,7 +56,7 @@ const SearchScopeElement = ({
5656 } ) ) ;
5757 } ;
5858
59- let color : 'secondary' | 'primary' = searchScope [ name ] && searchScope [ name ] . length > 0
59+ const color : 'secondary' | 'primary' = searchScope [ name ] && searchScope [ name ] . length > 0
6060 ? 'secondary'
6161 : 'primary' ;
6262
You can’t perform that action at this time.
0 commit comments