Skip to content

Commit

Permalink
Merge branch 'master' into CORE-4993-sdg-tab
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 committed Sep 25, 2024
2 parents f32c704 + 664a7f8 commit ccf79f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/settings/repository.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ const RepositoryPageTemplate = observer(

const handleSubmit = async (event) => {
event.preventDefault()
globalStore.dataProvider.setGlobalRorId(rorId)
globalStore.dataProvider.setGlobalRorName(rorName)

const target = event.target.form || event.target
const formData = new FormData(target)
Expand All @@ -211,8 +213,6 @@ const RepositoryPageTemplate = observer(
}[scope]

const result = await present(data)
setGlobalRorId(rorId)
setGlobalRorName(rorName)

await globalStore.organisation.retrieve()

Expand Down

0 comments on commit ccf79f1

Please sign in to comment.