Skip to content

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

UX: show users who liked the post when expanding post actions

Arpit Jalan54819d72c96c
diff --git a/app/assets/javascripts/discourse/widgets/post-menu.js.es6 b/app/assets/javascripts/discourse/widgets/post-menu.js.es6
index bc5338a561b..c60f506b518 100644
--- a/app/assets/javascripts/discourse/widgets/post-menu.js.es6
+++ b/app/assets/javascripts/discourse/widgets/post-menu.js.es6
@@ -396,6 +396,9 @@ export default createWidget('post-menu', {
showMoreActions() {
this.state.collapsed = false;
+ if (!this.state.likedUsers.length) {
+ return this.getWhoLiked();
+ }
},
like() {