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

* Adds a fix to support 3 digit issues

* Fixes mistype with bug fix
pull/168/head
Lagicrus 3 years ago committed by GitHub
parent 5802d20b93
commit b0819c97ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)})`;
});

Loading…
Cancel
Save