Fixed: Adds a fix to support 3 digit issues (#157)

* Adds a fix to support 3 digit issues

* Fixes mistype with bug fix
This commit is contained in:
Lagicrus 2021-06-08 08:43:07 +01:00 committed by GitHub
parent 5802d20b93
commit b0819c97ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ class UpdateChanges extends Component {
<ul>
{
changes.map((change, index) => {
const checkChange = change.replace(/#\d{4,5}\b/g, (match, contents) => {
const checkChange = change.replace(/#\d{3,5}\b/g, (match, contents) => {
return `[${match}](https://github.com/Prowlarr/Prowlarr/issues/${match.substring(1)})`;
});