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:
@@ -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())
|
||||
)
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user