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);