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) {
|
if (!pkg && foundPackage) {
|
||||||
pkg = foundPackage;
|
pkg = foundPackage;
|
||||||
}
|
}
|
||||||
if (!reviews && pkg) {
|
// TODO: uncomment when api is ready
|
||||||
packagesReviewStore.subscribe(pkg.full_name, (updatedReviews) => {
|
// if (!reviews && pkg) {
|
||||||
reviews = updatedReviews;
|
// packagesReviewStore.subscribe(pkg.full_name, (updatedReviews) => {
|
||||||
});
|
// reviews = updatedReviews;
|
||||||
}
|
// });
|
||||||
|
// }
|
||||||
};
|
};
|
||||||
|
|
||||||
packages.subscribe(setPkg);
|
packages.subscribe(setPkg);
|
||||||
|
@ -38,7 +39,10 @@
|
||||||
<section>
|
<section>
|
||||||
<PackageBanner {pkg} />
|
<PackageBanner {pkg} />
|
||||||
</section>
|
</section>
|
||||||
|
<!--
|
||||||
|
TODO: uncomment when api is ready
|
||||||
<section class="mt-8">
|
<section class="mt-8">
|
||||||
<PackageReviews reviews={reviews || []} />
|
<PackageReviews reviews={reviews || []} />
|
||||||
</section>
|
</section>
|
||||||
|
-->
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue