Skip to content

A platform for community discussion. Free, open, simple.

DEV: lint file

Régis Hanol5f1e346e1622
diff --git a/app/assets/javascripts/discourse/widgets/post-menu.js.es6 b/app/assets/javascripts/discourse/widgets/post-menu.js.es6
index 45af2c29806..f04fa9f70e6 100644
--- a/app/assets/javascripts/discourse/widgets/post-menu.js.es6
+++ b/app/assets/javascripts/discourse/widgets/post-menu.js.es6
@@ -578,9 +578,10 @@ export default createWidget("post-menu", {
if (state.readers.length) {
const remaining = state.totalReaders - state.readers.length;
- const description = remaining > 0
- ? "post.actions.people.read_capped"
- : "post.actions.people.read";
+ const description =
+ remaining > 0
+ ? "post.actions.people.read_capped"
+ : "post.actions.people.read";
const count = remaining > 0 ? remaining : state.totalReaders;
contents.push(
@@ -596,9 +597,10 @@ export default createWidget("post-menu", {
if (state.likedUsers.length) {
const remaining = state.total - state.likedUsers.length;
- const description = remaining > 0
- ? "post.actions.people.like_capped"
- : "post.actions.people.like";
+ const description =
+ remaining > 0
+ ? "post.actions.people.like_capped"
+ : "post.actions.people.like";
const count = remaining > 0 ? remaining : state.total;
contents.push(