-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add exports to Prisma Config form #1097
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to fix an error in your logic where the Object.assign never actually included the tags. Made a few other edits too
const search_options = this.count_data.searches.map(search => { | ||
return {id: "search_" + search.id, label: "IMPORT | " + search.title}; | ||
}); | ||
const options = Object.assign([], tag_options, search_options); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't work as currently implemented; I changed to this:
_.flatten([{id: NULL_VALUE, label: NULL_VALUE}, tag_options, search_options])
Update config form to use exported data of tags and searches.
