Fixed typo 'form_active'.
This commit is contained in:
parent
7cb550bfdf
commit
7f0fd8b346
1 changed files with 3 additions and 3 deletions
|
@ -19,9 +19,9 @@ class FirstStepsController < ApplicationController
|
||||||
if Setting.get('chat')
|
if Setting.get('chat')
|
||||||
chat_active = true
|
chat_active = true
|
||||||
end
|
end
|
||||||
from_active = false
|
form_active = false
|
||||||
if Setting.get('form_ticket_create')
|
if Setting.get('form_ticket_create')
|
||||||
from_active = true
|
form_active = true
|
||||||
end
|
end
|
||||||
twitter_active = false
|
twitter_active = false
|
||||||
if Channel.where(area: 'Twitter::Account').count.positive?
|
if Channel.where(area: 'Twitter::Account').count.positive?
|
||||||
|
@ -125,7 +125,7 @@ class FirstStepsController < ApplicationController
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Online Forms',
|
name: 'Online Forms',
|
||||||
checked: from_active,
|
checked: form_active,
|
||||||
location: '#channels/form',
|
location: '#channels/form',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue