Skip to content

Export Button fetchRelatedRecords #2449

Description

@Masoodt

In last update fetchRelatedRecords is using Javascript Set to make ids unique, but to converting it back to Array it has got a .slice() , so it's causing an error, because Set has no slice function
here is my suggested code: ExportButton.js
//old Code:
var ids = new Set(sanitizedData).slice();
// new Code
var ids = Array.from(new Set(sanitizedData))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions