mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 07:43:43 +08:00
follow up fix to 7d27b8b
This commit is contained in:
parent
7d27b8bb8c
commit
3fdc10337d
|
@ -484,6 +484,7 @@ export default createWidget("post-menu", {
|
|||
postControls.push(this.attach("post-admin-menu", attrs));
|
||||
}
|
||||
|
||||
const contents = [h("nav.post-controls.clearfix", postControls)];
|
||||
if (state.likedUsers.length) {
|
||||
const remaining = state.total - state.likedUsers.length;
|
||||
contents.push(
|
||||
|
|
Loading…
Reference in New Issue
Block a user