Skip to content

Commit

Permalink
Fix account type check
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Oct 21, 2024
1 parent a36bf5c commit 3fb7a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/download.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ try {
error = err;
}
const include_downloads = account.type != AccountType.ACCOUNT;
const include_downloads = !!account?.type;
---

<Main title="Download" center {account}>
Expand Down

0 comments on commit 3fb7a6e

Please sign in to comment.