mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 22:38:09 +08:00
FIX: We just show likes to see like count
This commit is contained in:
parent
310e196aca
commit
e9564c999f
@ -144,7 +144,7 @@ widgetTest("like count button", {
|
||||
actions_summary: [{ id: 2, count: 1, hidden: false, can_act: true }]
|
||||
});
|
||||
this.set("post", post);
|
||||
this.set("args", { likeCount: 1 });
|
||||
this.set("args", { likeCount: 1, showLike: true });
|
||||
},
|
||||
async test(assert) {
|
||||
assert.ok(find("button.like-count").length === 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user