feat: add sourceUrl support for build status updates and downloads

This commit is contained in:
Ben Allfree
2025-12-01 09:02:05 -08:00
parent 9246f87715
commit dae25e009f
5 changed files with 39 additions and 2 deletions
+5
View File
@@ -220,6 +220,11 @@ export default function BuildProgress() {
{downloadError && (
<p className="text-sm text-red-400">{downloadError}</p>
)}
</div>
)}
{build.sourceUrl && (
<div className="space-y-2">
<Button
onClick={handleSourceDownload}
className="w-full bg-slate-700 hover:bg-slate-600"
+5
View File
@@ -240,6 +240,11 @@ export default function ProfileFlash() {
>
Download Firmware
</Button>
</div>
)}
{build.sourceUrl && (
<div className="space-y-2">
<Button
onClick={handleSourceDownload}
className="bg-slate-700 hover:bg-slate-600 w-full"