fix: prevent opening undefined download URLs in RecordingsPage
Deploy to VPS / deploy (push) Failing after 1m31s
Deploy to VPS / deploy (push) Failing after 1m31s
This commit is contained in:
@@ -106,7 +106,9 @@ export default function RecordingsPage() {
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
onClick={() => window.open(rec.download_url, "_blank")}
|
||||
onClick={() => {
|
||||
if (rec.download_url) window.open(rec.download_url, "_blank");
|
||||
}}
|
||||
>
|
||||
<Download className="size-4" />
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user