Fix already clean headline
parent
c5797b660b
commit
8204df9a15
|
@ -193,7 +193,7 @@ export default class Thread {
|
|||
|
||||
// Get the title name
|
||||
let name = headline;
|
||||
matches.forEach(e => name = name.replace(e, ""));
|
||||
if (matches) matches.forEach(e => name = name.replace(e, ""));
|
||||
return name.trim();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue