mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 03:35:25 +08:00
Merge pull request #7079 from aignatov-bio/ai-sci-8328-all-users-have-same-avatar
Small fixes for table [SCI-8328]
This commit is contained in:
commit
b624eab0a5
2 changed files with 2 additions and 1 deletions
|
@ -213,6 +213,7 @@ export default {
|
|||
cellRendererParams: {
|
||||
dtComponent: this
|
||||
},
|
||||
pinned: (column.field === 'name' ? 'left' : null),
|
||||
comparator: () => false
|
||||
}));
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ class UserAssignmentSerializer < ActiveModel::Serializer
|
|||
{
|
||||
id: object.user.id,
|
||||
name: object.user.name,
|
||||
avatar_url: avatar_path(object, :icon_small)
|
||||
avatar_url: avatar_path(object.user, :icon_small)
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue