fix: new PAT not in list and cmp revenue (#5614)

* fix cmp info revenue not showing #5610

* fix use head referencing undefined

* fix new PAT not pushed to list and use new modal

* remove flex wrap in header nav
This commit is contained in:
Truman Gao
2026-03-18 17:06:35 -07:00
committed by GitHub
parent 1d10af09f5
commit 922b72d1a4
6 changed files with 68 additions and 52 deletions

View File

@@ -195,6 +195,8 @@ const { data: transparencyInformation } = useQuery({
queryFn: () => client.labrinth.payouts_v3.getPlatformRevenue(),
})
const platformRevenue = (transparencyInformation.value as any)?.all_time
const platformRevenueData = (transparencyInformation.value as any)?.data?.slice(0, 5) ?? []
const platformRevenue = computed(() => (transparencyInformation.value as any)?.all_time)
const platformRevenueData = computed(
() => (transparencyInformation.value as any)?.data?.slice(0, 5) ?? [],
)
</script>