mirror of
https://github.com/FranP-code/Pomodoro-Timer-with-Clockify-integration.git
synced 2025-10-12 23:52:30 +00:00
Fixes
This commit is contained in:
@@ -219,6 +219,14 @@ const ClockifyTasksDisplay = (props) => {
|
||||
value={props.taskName}
|
||||
placeholder="Add task description"
|
||||
className={props.projectID !== 0 ? null: 'disabled'}
|
||||
|
||||
onKeyPress={event => {
|
||||
|
||||
if (event.key === 'Enter') {
|
||||
|
||||
props.setTimerOn(true)
|
||||
}
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
: null
|
||||
|
||||
Reference in New Issue
Block a user