Skip to content

Commit

Permalink
Merge pull request #861 from keraan/fix/marking-hotkeys
Browse files Browse the repository at this point in the history
fix/marking-hotkeys
  • Loading branch information
jakerenzella authored May 31, 2024
2 parents 02a40bc + c1f623d commit 4ad3240
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/app/units/states/tasks/inbox/inbox.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,19 @@ export class InboxComponent implements OnInit, AfterViewInit {
}

ngOnInit(): void {
this.hotkeys
.addShortcut({
keys: 'control.c',
description: 'Mark selected task as complete',
})
.subscribe(() => this.selectedTask.selectedTask?.updateTaskStatus('complete'));

this.hotkeys
.addShortcut({
keys: 'control.f',
description: 'Mark selected task as fix',
})
.subscribe(() => this.selectedTask.selectedTask?.updateTaskStatus('fix_and_resubmit'));
// this.hotkeys
// .addShortcut({
// keys: 'control.c',
// description: 'Mark selected task as complete',
// })
// .subscribe(() => this.selectedTask.selectedTask?.updateTaskStatus('complete'));

// this.hotkeys
// .addShortcut({
// keys: 'control.f',
// description: 'Mark selected task as fix',
// })
// .subscribe(() => this.selectedTask.selectedTask?.updateTaskStatus('fix_and_resubmit'));

this.dragMoveAudited$ = this.dragMove$.pipe(
withLatestFrom(this.inboxStartSize$),
Expand Down

0 comments on commit 4ad3240

Please sign in to comment.