mirror of
https://github.com/wekan/wekan.git
synced 2026-01-07 01:58:49 +01:00
Fix lint errors.
Thanks to xet7 !
This commit is contained in:
parent
972b9b6e91
commit
ebfc8e5a1b
5 changed files with 26 additions and 27 deletions
|
|
@ -31,18 +31,17 @@ Meteor.methods({
|
|||
});
|
||||
|
||||
Meteor.methods({
|
||||
cloneBoard(sourceBoardId,currentBoardId) {
|
||||
cloneBoard(sourceBoardId, currentBoardId) {
|
||||
check(sourceBoardId, String);
|
||||
check(currentBoardId, Match.Maybe(String));
|
||||
const exporter = new Exporter(sourceBoardId);
|
||||
let data = exporter.build();
|
||||
let addData = {};
|
||||
const data = exporter.build();
|
||||
const addData = {};
|
||||
addData.membersMapping = wekanMembersMapper.getMembersToMap(data);
|
||||
const creator = new WekanCreator(addData);
|
||||
data.title = data.title + " - " + TAPi18n.__('copy-tag');
|
||||
data.title = `${data.title } - ${ TAPi18n.__('copy-tag')}`;
|
||||
return creator.create(data, currentBoardId);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue