mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-09-15 14:06:35 +00:00
fix: disable download button while running jobs, auto run generator jobs
This commit is contained in:
@@ -5,8 +5,9 @@
|
||||
interface Props {
|
||||
label: string;
|
||||
onclick?: () => void;
|
||||
disabled?: boolean;
|
||||
}
|
||||
let { label, onclick }: Props = $props();
|
||||
let { label, onclick, disabled = false }: Props = $props();
|
||||
</script>
|
||||
|
||||
<Button icon={Download} {label} {onclick} />
|
||||
<Button icon={Download} {label} {onclick} {disabled} />
|
||||
|
||||
Reference in New Issue
Block a user