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