Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sample
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周韬
node-sample
Commits
da3acabe
Commit
da3acabe
authored
Mar 31, 2018
by
Dan Hawkes
Committed by
Pooya Parsa
Apr 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Comment counts missing due to API change
See spec here:
https://github.com/tastejs/hacker-news-pwas/blob/1a01152121c06e285445bc693f0d87a5fa555c7b/docs/api.md
parent
abf630c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
item.vue
components/item.vue
+1
-1
No files found.
components/item.vue
View file @
da3acabe
...
...
@@ -21,7 +21,7 @@
</span>
<span
v-if=
"item.type !== 'job'"
class=
"comments-link"
>
|
<router-link
:to=
"'/item/' + item.id"
>
{{ item.
descendants
}} comments
</router-link>
<router-link
:to=
"'/item/' + item.id"
>
{{ item.
comments_count
}} comments
</router-link>
</span>
</span>
<span
v-if=
"item.type !== 'story'"
class=
"label"
>
{{ item.type }}
</span>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment