Crash on Edit link on the screen of Admin/team
In Admin/team screen, when I click on the Edit link, I got this error
Showing /home/david_ng_hk/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/bundler/gems/administrate-66c6d333106b/app/views/fields/has_one/_form.html.erb where line #19raised:
Showing /home/david_ng_hk/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/bundler/gems/administrate-66c6d333106b/app/views/fields/has_one/_form.html.erb where line #19raised:
uninitialized constant AvatarAttachmentDashboard
names.inject(Object) do |constant, name|
if constant == Object
constant.const_get(name)
else
candidate = constant.const_get(name)
next candidate if constant.const_defined?(name, false)
Any one can help?
Confirmed here 👍
If you remove `avatar_attachment` and `avatar_blob` from FORM_ATTRIBUTES in app/dashboards/team_dashboard.rb it works fine but of course then doesn't show any avatar fields on the Edit Team page.
If you remove `avatar_attachment` and `avatar_blob` from FORM_ATTRIBUTES in app/dashboards/team_dashboard.rb it works fine but of course then doesn't show any avatar fields on the Edit Team page.
FORM_ATTRIBUTES = [ ... :users, :avatar_attachment, <= remove this line :avatar_blob, <= remove this line :name, ...
Are teams even supposed to have avatars? I have't looked into teams this much yet.
Notifications
You’re not receiving notifications from this thread.