diff --git a/next_app/src/components/drawer/components/package-list.tsx b/next_app/src/components/drawer/components/package-list.tsx
index 9c0b913..7b559fe 100644
--- a/next_app/src/components/drawer/components/package-list.tsx
+++ b/next_app/src/components/drawer/components/package-list.tsx
@@ -25,12 +25,13 @@ function PackageList() {
setLoading(true);
const pop = await ao.dryrun({
process: APM_ID,
- tags: [{ name: "Action", value: "APM.GetPopular" }],
+ tags: [{ name: "Action", value: "APM.Popular" }],
})
setLoading(false);
if (pop.Error) return toast.error("Error fetching popular packages", { description: pop.Error, id: "error" })
const { Messages } = pop;
- const msg = Messages.find((msg) => msg.Tags.find((tag: Tag) => tag.name == "Action").value == "APM.GetPopularResponse")
+ console.log(Messages)
+ const msg = Messages.find((msg) => msg.Tags.find((tag: Tag) => tag.name == "Action").value == "APM.PopularResponse")
if (!msg) return toast.error("Error fetching popular packages", { description: "No popular response found", id: "error" })
const data = JSON.parse(msg.Data);
setPackages(data);
@@ -102,7 +103,7 @@ function PackageList() {
return
viewPackage(pkg)}>
{pkg.Vendor != "@apm" && `${pkg.Vendor}/`}{pkg.Name}
{pkg.Description}
-
{pkg.Installs} installs
+
{pkg.TotalInstalls} installs
})
}
diff --git a/next_app/src/components/views/components/all-projects.tsx b/next_app/src/components/views/components/all-projects.tsx
index 789fbb2..7aebf9a 100644
--- a/next_app/src/components/views/components/all-projects.tsx
+++ b/next_app/src/components/views/components/all-projects.tsx
@@ -67,7 +67,7 @@ function AllProjects() {
projectList.length == 0 && No projects found
}
{
- projectList.sort()
+ projectList.sort((a, b) => a.localeCompare(b))
.map((project, id) => {
const item =