Fix already clean headline

pull/73/head
MillenniumEarl 2021-03-04 10:00:12 +01:00
parent c5797b660b
commit 8204df9a15
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ export default class Thread {
// Get the title name // Get the title name
let name = headline; let name = headline;
matches.forEach(e => name = name.replace(e, "")); if (matches) matches.forEach(e => name = name.replace(e, ""));
return name.trim(); return name.trim();
} }