Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maltheism committed Jul 12, 2021
1 parent cd90d69 commit b672912
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/jsx/Configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,8 @@ const Configuration = (props) => {
* @param {object|string|boolean} value - element value
*/
const onUserInput = (name, value) => {
console.log(name);
console.log(value);
// Update the state of Configuration.
switch (name) {
case 'recordingID':
Expand All @@ -1003,10 +1005,10 @@ const Configuration = (props) => {
appContext.setTask(name, value);
break;
case 'participantEntryMode':
if (state.isAuthenticated.get) {
if (state.isAuthenticated.get === false) {
state.participantEntryMode.set('new_loris');
} else {
state.participantEntryMode.set('manual');
state.participantEntryMode.set(value);
}
break;
case 'LORIScompliant':
Expand Down

0 comments on commit b672912

Please sign in to comment.