Skip to content

Commit

Permalink
#243 Only first digit of PR displayed in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
proAlexandr committed Jan 8, 2019
1 parent 1a48ada commit 00f1559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RepoItemLabel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default {
},
methods: {
trimMergeRef(ref) {
const match = ref.match(/\d/g);
const match = ref.match(/\d+/g);
return match && match.length > 0 ? match[0] : ref;
},
trimTagRef(ref) {
Expand Down

0 comments on commit 00f1559

Please sign in to comment.