Add option for disabling chat.
This commit is contained in:
parent
6c4e3a509a
commit
612fb18367
3 changed files with 18 additions and 5 deletions
|
@ -82,6 +82,9 @@ window.fetch('/static/config.json')
|
|||
store.dispatch('setOption', { name: 'background', value: background })
|
||||
store.dispatch('setOption', { name: 'logo', value: logo })
|
||||
store.dispatch('setOption', { name: 'registrationOpen', value: registrationOpen })
|
||||
if (data['chatDisabled']) {
|
||||
store.dispatch('disableChat')
|
||||
}
|
||||
|
||||
const routes = [
|
||||
{ name: 'root', path: '/', redirect: data['defaultPath'] || '/main/all' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue