-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Subject array display And Implementation #27
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.
Need to update the productCategories forEach here
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.
See Suggestions
data?.map(async (item) => { | ||
productCategories.forEach((productCategories) => { | ||
if (item.product_subject.toString() === productCategories.id) { | ||
item.subject = productCategories.name; |
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.
item.subject = productCategories.name; |
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 is still using the subjects directly from the database. Please refactor to reference the language files.
Co-authored-by: r-southworth <105446541+r-southworth@users.noreply.github.com>
Co-authored-by: r-southworth <105446541+r-southworth@users.noreply.github.com>
Co-authored-by: r-southworth <105446541+r-southworth@users.noreply.github.com>
Co-authored-by: r-southworth <105446541+r-southworth@users.noreply.github.com>
Subject store as an array in supabase, make filters works for this subject and display the array in the different views. Also fix UI type problems but still some errors in that file