mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Can now navigate to subtask
This commit is contained in:
parent
4ac6a507cd
commit
989b026b33
3 changed files with 15 additions and 0 deletions
|
@ -88,6 +88,17 @@ BlazeComponent.extendComponent({
|
|||
}
|
||||
this.toggleDeleteDialog.set(!this.toggleDeleteDialog.get());
|
||||
},
|
||||
'click .js-view-subtask'(event) {
|
||||
if($(event.target).hasClass('js-view-subtask')){
|
||||
const subtask = this.currentData().subtask;
|
||||
const board = subtask.board();
|
||||
FlowRouter.go('card', {
|
||||
boardId: board._id,
|
||||
slug: board.slug,
|
||||
cardId: subtask._id,
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
return [{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue