Skip to content

Commit

Permalink
passing extra args to form config
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed Oct 21, 2024
1 parent 46871f2 commit 5a9ea3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions oarepo_ui/resources/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ def form_config(self):
self.run_components(
"form_config",
form_config=form_config,
args = resource_requestctx.args,
view_args=resource_requestctx.view_args,
identity=g.identity,
)
return form_config

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-ui
version = 5.2.15
version = 5.2.16
description = UI module for invenio 3.5+
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit 5a9ea3b

Please sign in to comment.