mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
hotfix: commentout only Iconbtn to prevent removing timelogs
This commit is contained in:
@@ -29,7 +29,7 @@ export const TimeLogRow = ({ log, handleDelete }) => {
|
||||
<div className="timelogs-description">
|
||||
<p>{log.description}</p>
|
||||
</div>
|
||||
<IconButton
|
||||
{/*<IconButton
|
||||
id={`timelog-remove-button-${log.id}`}
|
||||
className="timelogs-remove-button"
|
||||
style={{ padding: '0 12px' }}
|
||||
@@ -37,7 +37,7 @@ export const TimeLogRow = ({ log, handleDelete }) => {
|
||||
onClick={() => setConfirmOpen(true)}
|
||||
>
|
||||
<DeleteOutlineRounded />
|
||||
</IconButton>
|
||||
</IconButton>*/}
|
||||
<ConfirmationDialog
|
||||
title="Delete Time Log?"
|
||||
open={confirmOpen}
|
||||
|
||||
Reference in New Issue
Block a user