Fixes issue #3276 - Software error when Elasticsearch is not configured and rake searchindex:rebuild

This commit is contained in:
Martin Edenhofer 2021-02-24 05:48:01 +00:00
parent 9e8f85477d
commit 96c5267559
2 changed files with 2 additions and 2 deletions

View file

@ -88,4 +88,4 @@ class ChannelForm extends App.ControllerSubContent
value = @paramsSetting.find('[name=group_id]').val()
App.Setting.set('form_ticket_create_group_id', value)
App.Config.set('Form', { prio: 2000, name: 'Form', parent: '#channels', target: '#channels/form', controller: ChannelForm, permission: ['admin.formular'] }, 'NavBarAdmin')
App.Config.set('Form', { prio: 2000, name: 'Form', parent: '#channels', target: '#channels/form', controller: ChannelForm, permission: ['admin.channel_formular'] }, 'NavBarAdmin')

View file

@ -1,5 +1,5 @@
class App.ChannelGoogle extends App.ControllerTabs
requiredPermission: 'admin.channel_email'
requiredPermission: 'admin.channel_google'
header: 'Google'
constructor: ->
super