Updated config handling and moved some configs to global config file.

This commit is contained in:
Håvar Aambø Fosstveit
2018-06-29 10:25:33 +02:00
parent c755e2f7f0
commit ebe78080be
6 changed files with 55 additions and 19 deletions
+11 -8
View File
@@ -152,14 +152,17 @@ class Room extends React.Component
}}
/>
<div
className={classnames('button', 'login', 'off', {
disabled : me.loginInProgress
})}
data-tip='Login'
data-type='dark'
onClick={() => onLogin()}
/>
{me.loginEnabled ?
<div
className={classnames('button', 'login', 'off', {
disabled : me.loginInProgress
})}
data-tip='Login'
data-type='dark'
onClick={() => onLogin()}
/>
:null
}
<div
className={classnames('button', 'raise-hand', {