Skip to content

DownloadAction WithBlobPart instead of WithData

Noel Simmel requested to merge 373-simplify-downloadaction-type into main

Closes #373 (closed)

There's a bug in downloadFhirActionFactory. The download still works, but the file content is useless because the Promise is not awaited.

Not gonna fix it since I'm currently reworking this anyways, and it doesn't really affect this MR, just noting it in case someone's confused.

If you want, change the data property as follows:

data: async () => {
	const language : string	= (await rccSettingsService.get<string>('activeLanguage')).value
	return JSON.stringify( (await fhirService.exportToFHIR(language)) )
},

Merge request reports

Loading