Skip to content

Commit

Permalink
updated header (prettier)
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyc1 committed Sep 13, 2023
1 parent 01120da commit a5c7dbd
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const HeaderNoCtx: React.FC<ContextType> = (props) => {
exact: false
},
{ title: 'Feeds', path: '/feeds', users: ALL_USERS, exact: false },

/*
hiding reprts page until finished
{
Expand All @@ -256,7 +256,7 @@ const HeaderNoCtx: React.FC<ContextType> = (props) => {
users: ALL_USERS,
exact: true
},*/

{
title: 'Scans',
path: '/scans',
Expand Down Expand Up @@ -423,10 +423,11 @@ const HeaderNoCtx: React.FC<ContextType> = (props) => {
) {
return options;
}
return options.filter((option) =>
option?.name
.toLowerCase()
.includes(state.inputValue.toLowerCase())
return options.filter(

Check failure on line 426 in frontend/src/components/Header.tsx

View workflow job for this annotation

GitHub Actions / lint

Delete `⏎··························`
(option) =>
option?.name

Check failure on line 428 in frontend/src/components/Header.tsx

View workflow job for this annotation

GitHub Actions / lint

Delete `··`
.toLowerCase()

Check failure on line 429 in frontend/src/components/Header.tsx

View workflow job for this annotation

GitHub Actions / lint

Delete `··`
.includes(state.inputValue.toLowerCase())

Check failure on line 430 in frontend/src/components/Header.tsx

View workflow job for this annotation

GitHub Actions / lint

Delete `··`
);
}}
disableClearable
Expand Down

0 comments on commit a5c7dbd

Please sign in to comment.