mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-08-08 01:43:05 +02:00
feat: add sourceUrl support for build status updates and downloads
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user