Skip to content

Commit

Permalink
fix: package download setting does not take effect (close alist-org/a…
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Nov 5, 2023
1 parent 9007f34 commit 1e539c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/home/toolbar/Download.tsx
Expand Up @@ -59,6 +59,7 @@ export const PackageDownloadModal = () => {
const t = useT()
const handler = (name: string) => {
if (name === "package_download") {
if (!getSettingBool("package_download")) return
onOpen()
}
}
Expand Down

0 comments on commit 1e539c9

Please sign in to comment.