Skip to content

Commit ff2ba20

Browse files
committed
OpenConceptLab/ocl_issues#2270 | project level logs disabled when the project is not saved
1 parent 09db75d commit ff2ba20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/map-projects/Controls.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const Controls = ({project, onDownload, onSave, onDelete, owner, file, isSaving,
4949
color='secondary'
5050
onClick={onProjectLogsClick}
5151
title={t('map_project.project_logs_tooltip')}
52-
disabled={!project.id}
52+
disabled={!project?.id}
5353
icon={<TimelineIcon />}
5454
/>
5555
<IkonButton

0 commit comments

Comments
 (0)