Fixed redirect after ticket creation.
This commit is contained in:
parent
71f807af0f
commit
00bc40e4cb
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ class App.TicketCreate extends App.Controller
|
|||
ui.scrollTo()
|
||||
|
||||
# access to group
|
||||
group_ids = _.filter(App.Session.get('group_ids'), (id) -> id.toString())
|
||||
group_ids = _.map(App.Session.get('group_ids'), (id) -> id.toString())
|
||||
if group_ids && _.contains(group_ids, @group_id.toString())
|
||||
ui.navigate "#ticket/zoom/#{@id}"
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue