summaryrefslogtreecommitdiffstats
path: root/client/components/import/import.jade
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2016-01-31 15:13:03 +0100
committerMaxime Quandalle <maxime@quandalle.com>2016-01-31 20:03:17 +0100
commitb5ebbd2bf95eef6fdc4f7a5fdaf5ef4e3b4ec5b5 (patch)
tree7d44b85dff8a1b47aca729b2cca42cd6d62941f8 /client/components/import/import.jade
parenta13fad749e8a75025bb13de87f0170e1ea9e462d (diff)
downloadwekan-b5ebbd2bf95eef6fdc4f7a5fdaf5ef4e3b4ec5b5.tar.gz
wekan-b5ebbd2bf95eef6fdc4f7a5fdaf5ef4e3b4ec5b5.tar.bz2
wekan-b5ebbd2bf95eef6fdc4f7a5fdaf5ef4e3b4ec5b5.zip
Simplify an internal data model used in the importer
We used to save the whole user document in a internal data structure while we only needed the userId.
Diffstat (limited to 'client/components/import/import.jade')
-rw-r--r--client/components/import/import.jade6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/components/import/import.jade b/client/components/import/import.jade
index 816a0b45..e10072b4 100644
--- a/client/components/import/import.jade
+++ b/client/components/import/import.jade
@@ -23,14 +23,14 @@ template(name="importMapMembers")
p {{_ 'import-members-map'}}
.mapping-list
each members
- a.mapping-item.js-select-member(class="{{#if wekan}}filled{{/if}}")
+ a.mapping-item.js-select-member(class="{{#if wekanId}}filled{{/if}}")
.profile-source
.full-name= fullName
.username
| ({{username}})
.wekan
- if wekan
- +userAvatar(userId=wekan._id)
+ if wekanId
+ +userAvatar(userId=wekanId)
else
a.member.add-member
i.fa.fa-plus