mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 13:16:28 +08:00
fixes per @duczOr request
This commit is contained in:
parent
3d7591100a
commit
fbcc788597
1 changed files with 2 additions and 3 deletions
|
@ -200,11 +200,10 @@ class TeamExporter
|
||||||
end
|
end
|
||||||
|
|
||||||
def repository(repository)
|
def repository(repository)
|
||||||
columns = repository.repository_columns
|
|
||||||
{
|
{
|
||||||
repository: repository,
|
repository: repository,
|
||||||
repository_columns: repository.repository_columns.map do |c|
|
repository_columns: repository.repository_columns.map do |c|
|
||||||
repository_columns(c)
|
repository_column(c)
|
||||||
end,
|
end,
|
||||||
repository_rows: repository.repository_rows.map do |r|
|
repository_rows: repository.repository_rows.map do |r|
|
||||||
repository_row(r)
|
repository_row(r)
|
||||||
|
@ -230,7 +229,7 @@ class TeamExporter
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def repository_columns(column)
|
def repository_column(column)
|
||||||
{
|
{
|
||||||
repository_column: column,
|
repository_column: column,
|
||||||
repository_list_items: column.repository_list_items
|
repository_list_items: column.repository_list_items
|
||||||
|
|
Loading…
Reference in a new issue