Skip to content

Commit 149f08b

Browse files
committed
Remove unneeded check
1 parent 2c2ff8d commit 149f08b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

web_src/js/components/ContextPopup.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ export default {
3838
3939
computed: {
4040
createdAt() {
41-
return this.issue !== null ?
42-
new Date(this.issue.created_at).toLocaleDateString(undefined, {year: 'numeric', month: 'short', day: 'numeric'}) :
43-
null;
41+
return new Date(this.issue.created_at).toLocaleDateString(undefined, {year: 'numeric', month: 'short', day: 'numeric'});
4442
},
4543
4644
body() {

0 commit comments

Comments
 (0)