From 66742bf8297f42a00978de7d924eab7a279a793a Mon Sep 17 00:00:00 2001 From: Norbert Csaba Herczeg Date: Wed, 16 Oct 2024 13:56:57 +0200 Subject: [PATCH] JNG-5977 single access export (#471) --- .../actor/src/pages/actions/ExportAction.fragment.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/judo-ui-react/src/main/resources/actor/src/pages/actions/ExportAction.fragment.hbs b/judo-ui-react/src/main/resources/actor/src/pages/actions/ExportAction.fragment.hbs index bf73aeef..03646ee3 100644 --- a/judo-ui-react/src/main/resources/actor/src/pages/actions/ExportAction.fragment.hbs +++ b/judo-ui-react/src/main/resources/actor/src/pages/actions/ExportAction.fragment.hbs @@ -7,9 +7,9 @@ const {{ simpleActionDefinitionName action.actionDefinition }} = async (queryCus try { setIsLoading(true); {{# if container.isRelationSelector }} - const response = await {{ getServiceImplForPage page }}.export(undefined, queryCustomizer); + const response = await {{ getServiceImplForPage page }}.export(owner.current, queryCustomizer); {{ else }} - const response = await {{ getServiceImplForPage page }}.export{{# if action.targetDataElement }}{{ firstToUpper action.targetDataElement.name }}{{/ if }}({{# if (pageHasSignedId page) }}{ __signedIdentifier: signedIdentifier } as any{{ else }}undefined{{/ if }}, queryCustomizer); + const response = await {{ getServiceImplForPage page }}.export{{# if action.targetDataElement }}{{ firstToUpper action.targetDataElement.name }}{{/ if }}({{# if (pageHasSignedId page) }}{ __signedIdentifier: signedIdentifier } as any{{ else }}owner.current{{/ if }}, queryCustomizer); {{/ if }} exportFile(response);