Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nmelhado/league-page into legends…
Browse files Browse the repository at this point in the history
…-league
  • Loading branch information
nmelhado2 committed Aug 10, 2021
2 parents 0fb0475 + ff02a6c commit 8c02f41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/managers/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
getLeagueTransactions,
getAwards,
getLeagueRecords,
managers
managers as managersObj
} from '$lib/utils/helper';
export async function load({ page }) {
Expand All @@ -24,10 +24,10 @@
const props = {
manager: null,
managers,
managers: managersObj,
managersInfo
}
if(manager && (manager >= 0 && manager < managers.length)) {
if(manager && (manager >= 0 && manager < managersObj.length)) {
props.manager = manager;
}
Expand Down

1 comment on commit 8c02f41

@vercel
Copy link

@vercel vercel bot commented on 8c02f41 Aug 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.