mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 23:28:49 +01:00
Merge branch 'upgrade-meteor-2.6' of https://github.com/majus/wekan into upgrade-meteor
This commit is contained in:
commit
0c3ca14699
268 changed files with 3109 additions and 10419 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import Attachments from "./attachments";
|
||||
import moment from 'moment';
|
||||
import { TAPi18n } from '/imports/i18n';
|
||||
|
||||
const DateString = Match.Where(function(dateAsString) {
|
||||
check(dateAsString, String);
|
||||
|
|
@ -447,13 +448,11 @@ export class TrelloCreator {
|
|||
});
|
||||
}
|
||||
};
|
||||
// TODO: Add import attachment with Trello API key
|
||||
// like Python code at wekan/trello/ of https://github.com/wekan/wekan
|
||||
//if (att.url) {
|
||||
// Attachment.load(att.url, opts, cb, true);
|
||||
//} else if (att.file) {
|
||||
// Attachment.write(att.file, opts, cb, true);
|
||||
//}
|
||||
if (att.url) {
|
||||
Attachment.load(att.url, opts, cb, true);
|
||||
} else if (att.file) {
|
||||
Attachment.write(att.file, opts, cb, true);
|
||||
}
|
||||
});
|
||||
|
||||
if (links) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue