Skip to content

Commit

Permalink
Merge pull request #29 from openstad/bugfix/always-set-publishDate-wh…
Browse files Browse the repository at this point in the history
…en-importing

Always set the publishDate to now when using the import button
  • Loading branch information
LorenzoJokhan authored Dec 4, 2023
2 parents 60f082f + 436f12d commit 63b7878
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ImportButton/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const ImportButton = (props) => {
}

cleanUp(value, null)
value['publishDate'] = new Date();
return value;
}

Expand Down

0 comments on commit 63b7878

Please sign in to comment.