mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +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
|
||||
|
||||
def repository(repository)
|
||||
columns = repository.repository_columns
|
||||
{
|
||||
repository: repository,
|
||||
repository_columns: repository.repository_columns.map do |c|
|
||||
repository_columns(c)
|
||||
repository_column(c)
|
||||
end,
|
||||
repository_rows: repository.repository_rows.map do |r|
|
||||
repository_row(r)
|
||||
|
@ -230,7 +229,7 @@ class TeamExporter
|
|||
}
|
||||
end
|
||||
|
||||
def repository_columns(column)
|
||||
def repository_column(column)
|
||||
{
|
||||
repository_column: column,
|
||||
repository_list_items: column.repository_list_items
|
||||
|
|
Loading…
Reference in a new issue