Skip to content

Commit

Permalink
fix: Config relationships - Soft toggle not working
Browse files Browse the repository at this point in the history
Fixes #1968
  • Loading branch information
mainawycliffe authored and moshloop committed May 31, 2024
1 parent bcef3d3 commit 7389844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/query-hooks/useConfigRelationshipsQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function useConfigRelationshipsQuery(id: string | undefined) {
const incoming = searchParams.get("incoming") === "true";
const outgoing = searchParams.get("outgoing") === "true";
const relation =
searchParams.get(ConfigRelationKey) === "both" ? "both" : "hard";
searchParams.get(ConfigRelationKey) === "soft" ? "both" : "hard";

const relationshipType = useMemo(() => {
const all = incoming && outgoing;
Expand Down

0 comments on commit 7389844

Please sign in to comment.