mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00: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
|
|
@ -76,8 +76,8 @@ BlazeComponent.extendComponent({
|
|||
const title = textarea.value.trim();
|
||||
let cardId = this.currentData().cardId;
|
||||
const card = Cards.findOne(cardId);
|
||||
if (card.isImported())
|
||||
cardId = card.importedId;
|
||||
if (card.isLinked())
|
||||
cardId = card.linkedId;
|
||||
|
||||
if (title) {
|
||||
Checklists.insert({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue