Skip to content

Commit

Permalink
Merge pull request #519 from Puzzlepart/bugfix/518-propsync-not-trigg…
Browse files Browse the repository at this point in the history
…ered

Crafting url without query portion to omit sw=bypass string …
  • Loading branch information
okms authored Sep 8, 2021
2 parents 2410a93 + 7d81fc1 commit 86c7287
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const ProjectPhases = (props: IProjectPhasesProps) => {
props.syncPropertiesAfterPhaseChange === undefined ||
props.syncPropertiesAfterPhaseChange
) {
setTimeout(() => (document.location.href = `${props.webUrl}#syncproperties=1`), 1000)
setTimeout(() => (document.location.href = `${document.location.protocol}//${document.location.hostname}${document.location.pathname}#syncproperties=1`), 1000)
}
}

Expand Down

0 comments on commit 86c7287

Please sign in to comment.