Skip to content

Commit

Permalink
fix: hide archive project button (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Nov 16, 2023
1 parent 75f7fbd commit b8ded64
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dev-client/src/components/projects/ProjectSettingsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ export default function ProjectSettingsTab({
const closeArchiveProject = () => {
setIsArchiveModalOpen(false);
};
const openArchiveProject = () => {
setIsArchiveModalOpen(true);
};
// const openArchiveProject = () => {
// setIsArchiveModalOpen(true);
// };
const triggerArchiveProject = () => {
setIsDeleteModalOpen(false);
dispatch(archiveProject({id: projectId, archived: true}));
Expand All @@ -92,12 +92,14 @@ export default function ProjectSettingsTab({
href={downloadLink}>
{t('projects.settings.copy_download_link').toUpperCase()}
</IconLink>
{/*
<IconLink
iconName="archive"
isUnderlined={false}
onPress={openArchiveProject}>
{t('projects.settings.archive').toUpperCase()}
</IconLink>
*/}
<IconLink
iconName="delete-forever"
underlined={false}
Expand Down

0 comments on commit b8ded64

Please sign in to comment.