Skip to content

Commit

Permalink
Merge pull request #218 from bible-technology/archive-issue
Browse files Browse the repository at this point in the history
Disable opening project from Archive
  • Loading branch information
vipinpaul authored Nov 9, 2023
2 parents 1436fda + 12ca053 commit 4057221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/src/components/Projects/ProjectRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const ProjectRow = ({
<div
id={`${project.name}`}
onClick={
(event) => handleSelectProject(event, project.name, project.id[0], router, activeNotificationCount, setSelectedProject, setNotifications, setActiveNotificationCount)
(event) => (showArchived ? '' : handleSelectProject(event, project.name, project.id[0], router, activeNotificationCount, setSelectedProject, setNotifications, setActiveNotificationCount))
}
role="button"
aria-label={project.starred ? 'unstar-project-name' : 'star-project-name'}
Expand Down

0 comments on commit 4057221

Please sign in to comment.