mirror of
https://github.com/ivabus/gui
synced 2025-06-08 00:00:27 +03:00
hide package reviews
This commit is contained in:
parent
713c10db74
commit
19e1809615
1 changed files with 9 additions and 5 deletions
|
@ -22,11 +22,12 @@
|
|||
if (!pkg && foundPackage) {
|
||||
pkg = foundPackage;
|
||||
}
|
||||
if (!reviews && pkg) {
|
||||
packagesReviewStore.subscribe(pkg.full_name, (updatedReviews) => {
|
||||
reviews = updatedReviews;
|
||||
});
|
||||
}
|
||||
// TODO: uncomment when api is ready
|
||||
// if (!reviews && pkg) {
|
||||
// packagesReviewStore.subscribe(pkg.full_name, (updatedReviews) => {
|
||||
// reviews = updatedReviews;
|
||||
// });
|
||||
// }
|
||||
};
|
||||
|
||||
packages.subscribe(setPkg);
|
||||
|
@ -38,7 +39,10 @@
|
|||
<section>
|
||||
<PackageBanner {pkg} />
|
||||
</section>
|
||||
<!--
|
||||
TODO: uncomment when api is ready
|
||||
<section class="mt-8">
|
||||
<PackageReviews reviews={reviews || []} />
|
||||
</section>
|
||||
-->
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue