Fixed check if init owner selection of new ticket screen is empty.
This commit is contained in:
parent
afc241e72a
commit
c873789385
1 changed files with 17 additions and 17 deletions
|
@ -103,7 +103,7 @@ returns
|
||||||
agents[ user.id ] = 1
|
agents[ user.id ] = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies = { :group_id => { '' => [] } }
|
dependencies = { :group_id => { '' => { :owner_id => [] } } }
|
||||||
Group.where( :active => true ).each { |group|
|
Group.where( :active => true ).each { |group|
|
||||||
assets = group.assets(assets)
|
assets = group.assets(assets)
|
||||||
dependencies[:group_id][group.id] = { :owner_id => [] }
|
dependencies[:group_id][group.id] = { :owner_id => [] }
|
||||||
|
|
Loading…
Reference in a new issue