Skip to content

Commit

Permalink
feat(taskSidebar): auto select current task when oepened
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesjo committed Dec 7, 2019
1 parent ec9335f commit d54103d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/features/tasks/store/task.reducer.ts
Expand Up @@ -121,6 +121,7 @@ export function taskReducer(
changes: {isDone: false}
}, state)),
currentTaskId: taskToStartId,
selectedTaskId: state.selectedTaskId && taskToStartId,
};
} else {
return {
Expand Down
Expand Up @@ -40,7 +40,7 @@

.task-title {
//padding: 0 10px;
padding: 4px 0;
padding: 8px 0;
font-size: 15px;
margin: 0;
flex-grow: 1;
Expand Down

0 comments on commit d54103d

Please sign in to comment.