Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3388074
D8317.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
436 B
Referenced Files
None
Subscribers
None
D8317.diff
View Options
diff --git a/lib/hooks/inline-engagement-text.react.js b/lib/hooks/inline-engagement-text.react.js
--- a/lib/hooks/inline-engagement-text.react.js
+++ b/lib/hooks/inline-engagement-text.react.js
@@ -7,7 +7,7 @@
return '';
}
const repliesCount = threadInfo.repliesCount || 1;
- return String(repliesCount);
+ return `${repliesCount} ${repliesCount > 1 ? 'replies' : 'reply'}`;
}
export default useInlineEngagementText;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 12:37 PM (21 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2600961
Default Alt Text
D8317.diff (436 B)
Attached To
Mode
D8317: [lib] add reply/replies back to sidebar inline engagement
Attached
Detach File
Event Timeline
Log In to Comment