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:
aignatov-bio 2024-02-12 12:31:51 +01:00 committed by GitHub
commit b624eab0a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -213,6 +213,7 @@ export default {
cellRendererParams: { cellRendererParams: {
dtComponent: this dtComponent: this
}, },
pinned: (column.field === 'name' ? 'left' : null),
comparator: () => false comparator: () => false
})); }));

View file

@ -18,7 +18,7 @@ class UserAssignmentSerializer < ActiveModel::Serializer
{ {
id: object.user.id, id: object.user.id,
name: object.user.name, name: object.user.name,
avatar_url: avatar_path(object, :icon_small) avatar_url: avatar_path(object.user, :icon_small)
} }
end end