mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
reverted add question subject name comparison
This commit is contained in:
parent
85408029b5
commit
e1747b9b11
1 changed files with 4 additions and 2 deletions
|
@ -500,8 +500,10 @@ function addQuestion(
|
|||
|
||||
const i = data.findIndex((subject) => {
|
||||
return (
|
||||
subj.toLowerCase() ===
|
||||
getSubjNameWithoutYear(subject.Name).toLowerCase()
|
||||
subject.Name &&
|
||||
subj
|
||||
.toLowerCase()
|
||||
.includes(getSubjNameWithoutYear(subject.Name).toLowerCase())
|
||||
)
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue