Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on link suggestion #833

Open
jamesrwelch opened this issue Nov 3, 2023 · 0 comments
Open

Error on link suggestion #833

jamesrwelch opened this issue Nov 3, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jamesrwelch
Copy link
Contributor

When getting link suggestions for an individual data element, the UI hangs while processing the response from the API.
The console error is:

TypeError: this.model.suggestions.forEach is not a function. (In 'this.model.suggestions.forEach((suggestion) => { suggestion.selectedTarget = suggestion.results[0]; })', 'this.model.suggestions.forEach' is undefined)

Reported by Thomas Williamson via Zulip

@jamesrwelch jamesrwelch added the bug Something isn't working label Nov 3, 2023
@jamesrwelch jamesrwelch self-assigned this Nov 3, 2023
joe-crawford added a commit that referenced this issue Nov 6, 2023
Fix for #833 - fix array when suggestions are for a single data element
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant