ux: keep keyfile download button enabled
Previously, it would disable itself after activating the download dialog once,
but the user might want to activate the dialogue again for any reason.
Fixes #562.
commit6b72a3b5903777853ea08d8efe6f756e21242498
authorfang <github@fang.io>
dateFri 26 Mar 2021, 23:47 (6 years ago)
parent29f4a14
src/components/DownloadKeyfileButton.js+1−1
@@ -20,7 +20,7 @@ export default function DownloadKeyfileButton({
2020 <DownloadButton
2121 as="span"
2222 className={className}
23− disabled={downloaded || !available}
23+ disabled={!available}
2424 disabledDetail={
2525 !available && <B className="wrap ws-normal">· {notice}</B>
2626 }