mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Removed .Subjects to work with new data structure
This commit is contained in:
parent
7ac65348e4
commit
d523d50fa1
4 changed files with 15 additions and 9 deletions
|
@ -5,7 +5,7 @@ export default function SubjectSelector (props) {
|
|||
|
||||
return (
|
||||
<div className='subjectSelector'>
|
||||
{data.Subjects.map((subj, i) => {
|
||||
{data.map((subj, i) => {
|
||||
if (!subj.Name.toLowerCase().includes(searchTerm.toLowerCase())) {
|
||||
return null
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue