From b5ebbd2bf95eef6fdc4f7a5fdaf5ef4e3b4ec5b5 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Sun, 31 Jan 2016 15:13:03 +0100 Subject: 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. --- client/components/import/import.jade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/components/import/import.jade') 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 -- cgit v1.2.3-1-g7c22