feat: Implement logic to import multiple boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -397,4 +397,12 @@ class TrelloJsonService extends ABoardImportService {
|
||||
$trelloCard->desc .= "| [{$name}]({$attachment->url}) | {$attachment->date} |\n";
|
||||
}
|
||||
}
|
||||
|
||||
public function getBoards(): array {
|
||||
if ($this->getImportService()->getData()->boards) {
|
||||
return $this->getImportService()->getData()->boards;
|
||||
}
|
||||
|
||||
return [$this->getImportService()->getData()];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user