Skip to content

Commit 55d1ae4

Browse files
committed
Don't show "Copy to Drive" and "Copy to Bucket" buttons if jobs was run in a user's private space (not associated with a collab)
1 parent 0a28812 commit 55d1ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/job-detail/FilesPanel.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function CopyButtons(props) {
7676
progressIndicator = <CircularProgress size={20} />;
7777
}
7878

79-
if (props.currentRepository.includes("temporary")) {
79+
if (props.currentRepository.includes("temporary") && !props.collab.startsWith("private-")) {
8080
return (
8181
<Stack direction="row" spacing={1} sx={{ paddingTop: 2 }}>
8282
<Button

0 commit comments

Comments
 (0)