mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 14:45:56 +08:00
Default view on Projects and Experiments pages is "Table view" [SCI-9794] (#6768)
This commit is contained in:
parent
6d65315741
commit
bb35e15993
|
@ -142,7 +142,7 @@ class Project < ApplicationRecord
|
|||
experiments: {
|
||||
active: { sort: 'new' },
|
||||
archived: { sort: 'new' },
|
||||
view_type: 'cards'
|
||||
view_type: 'table'
|
||||
}
|
||||
}
|
||||
end
|
||||
|
|
|
@ -78,7 +78,7 @@ class Team < ApplicationRecord
|
|||
projects: {
|
||||
active: { sort: 'new' },
|
||||
archived: { sort: 'new' },
|
||||
view_type: 'cards'
|
||||
view_type: 'table'
|
||||
}
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue