Stats card: migrate from show_total_reviews to show option (resolves #2836) (#2844)

* Stats card: migrate from show_total_reviews to show option (resolves #2836)

* dev

* docs: improve documentation

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
This commit is contained in:
Alexandr Garbuzovandrickstaa authored and GitHub committed 2023-06-17 23:10:13 +03:00
1 parent 6cbb08e218
commit b70b089b8e
5 files changed
+162 -150

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ describe("Test renderStatsCard", () => {
it("should show total reviews", () => {
document.body.innerHTML = renderStatsCard(stats, {
show_total_reviews: true,
show: ["reviews"],
});
expect(