Skip to content

Commit

Permalink
Merging pull request #213 from fga-gpp-mds/issue_199
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusRich authored Dec 9, 2017
2 parents cfa2028 + 56bec7a commit fd9dc75
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/Issues/Issues.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="card-body">
<div class="row">
<div class="col">
<h4 class="float-left">{{issue.name}}</h4>
<p>{{ issue.name | truncate '10' }}</p>
</div>
</div>
<div class="row">
Expand Down Expand Up @@ -70,6 +70,13 @@ export default {
}),
},
filters: {
truncate: function(string, value) {
return string.substring(0, value) + '...';
}
},
methods: {
selectIssue(issue) {
this.selectedIssue = issue;
Expand Down

0 comments on commit fd9dc75

Please sign in to comment.