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

This commit is contained in:
Arpit Jalan 2018-04-03 08:07:20 +05:30
parent d54da517d9
commit 54819d72c9
1 changed files with 3 additions and 0 deletions

View File

@ -396,6 +396,9 @@ export default createWidget('post-menu', {
showMoreActions() { showMoreActions() {
this.state.collapsed = false; this.state.collapsed = false;
if (!this.state.likedUsers.length) {
return this.getWhoLiked();
}
}, },
like() { like() {