mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Refactor imported -> linked in components
This commit is contained in:
parent
6adfcb3513
commit
f76d8e47a8
11 changed files with 52 additions and 53 deletions
|
|
@ -9,11 +9,11 @@ BlazeComponent.extendComponent({
|
|||
|
||||
events() {
|
||||
return [{
|
||||
'click .js-imported-link' (evt) {
|
||||
if (this.data().isImportedCard())
|
||||
Utils.goCardId(this.data().importedId);
|
||||
else if (this.data().isImportedBoard())
|
||||
Utils.goBoardId(this.data().importedId);
|
||||
'click .js-linked-link' (evt) {
|
||||
if (this.data().isLinkedCard())
|
||||
Utils.goCardId(this.data().linkedId);
|
||||
else if (this.data().isLinkedBoard())
|
||||
Utils.goBoardId(this.data().linkedId);
|
||||
},
|
||||
}];
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue