Skip to content

Commit 4ecff30

Browse files
committed
make sure status is complete before opening
1 parent ca6ead2 commit 4ecff30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/desktop/src/routes/(window-chrome)/settings/recordings.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,10 @@ function RecordingItem(props: {
223223
return (
224224
<li
225225
onClick={() => {
226-
if (mode() === "studio") {
226+
if (
227+
mode() === "studio" &&
228+
props.recording.meta.status.status === "Complete"
229+
) {
227230
props.onOpenEditor();
228231
}
229232
}}

0 commit comments

Comments
 (0)