Skip to content

Commit

Permalink
one hop out: remove errant '|| true' from condition (#1532)
Browse files Browse the repository at this point in the history
Fixes #1531, one hop out checkbox always checked.
  • Loading branch information
ikreymer authored Feb 16, 2024
1 parent 64bf213 commit 4cbe134
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/pages/org/workflow-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,9 @@ export class CrawlConfigEditor extends LiteElement {
: defaultFormState.browserProfile,
scopeType: primarySeedConfig.scopeType as FormState["scopeType"],
exclusions: seedsConfig.exclude,
includeLinkedPages:
Boolean(primarySeedConfig.extraHops || seedsConfig.extraHops) || true,
includeLinkedPages: Boolean(
primarySeedConfig.extraHops || seedsConfig.extraHops,
),
useSitemap: defaultFormState.useSitemap,
failOnFailedSeed:
seedsConfig.failOnFailedSeed ?? defaultFormState.failOnFailedSeed,
Expand Down

0 comments on commit 4cbe134

Please sign in to comment.