Skip to content

Commit

Permalink
default to all
Browse files Browse the repository at this point in the history
  • Loading branch information
lukejpreston committed Mar 5, 2024
1 parent 47fc546 commit 19895a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/visible.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const useVisibility = () => {
const [searchParams, setSearchParams] = useSearchParams()
const query = queryString.parse(searchParams.toString(), { parseBooleans: true })

const passed = ('passed' in query && query.passed)
const skipped = ('skipped' in query && query.skipped)
const passed = ('passed' in query ? query.passed : true)
const skipped = ('skipped' in query ? query.skipped : true)
const error = 'error' in query ? query.error : true
const failure = 'failure' in query ? query.failure : true
const unknown = 'unknown' in query ? query.unknown : true
Expand Down

0 comments on commit 19895a7

Please sign in to comment.