Skip to content

Commit

Permalink
Merge pull request #720 from openstad/develop
Browse files Browse the repository at this point in the history
Update main with develop change
  • Loading branch information
iandebruin98 authored Jan 23, 2025
2 parents 3f19f87 + 957006f commit 339fb47
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,15 @@ export default function ProjectSettings() {

useEffect(() => {
if (checkboxInitial) {
if (data?.config?.project?.projectToggle) {
setShowUrl(true);
setCheckboxInitial(false);
}

if (data?.url) {
form.setValue('projectToggle', true);
setShowUrl(true)
setCheckboxInitial(false)
setShowUrl(true);
setCheckboxInitial(false);
}
setProjectHasEnded(data?.config?.project?.projectHasEnded)
}
Expand Down

0 comments on commit 339fb47

Please sign in to comment.