Skip to content

Commit

Permalink
Remove unneeded check
Browse files Browse the repository at this point in the history
  • Loading branch information
lafriks committed Jul 7, 2021
1 parent 2c2ff8d commit 149f08b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web_src/js/components/ContextPopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ export default {
computed: {
createdAt() {
return this.issue !== null ?
new Date(this.issue.created_at).toLocaleDateString(undefined, {year: 'numeric', month: 'short', day: 'numeric'}) :
null;
return new Date(this.issue.created_at).toLocaleDateString(undefined, {year: 'numeric', month: 'short', day: 'numeric'});
},
body() {
Expand Down

0 comments on commit 149f08b

Please sign in to comment.