feat: allow users to set an icon or emoji for teams (#14767)
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
# id :bigint not null, primary key
|
||||
# allow_auto_assign :boolean default(TRUE)
|
||||
# description :text
|
||||
# icon :string default("")
|
||||
# icon_color :string default("")
|
||||
# name :string not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
@@ -62,7 +64,9 @@ class Team < ApplicationRecord
|
||||
def push_event_data
|
||||
{
|
||||
id: id,
|
||||
name: name
|
||||
name: name,
|
||||
icon: icon,
|
||||
icon_color: icon_color
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user