Skip to content

Commit

Permalink
Make toggle default choice
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-seifert committed Sep 22, 2021
1 parent 4699360 commit a3b9bb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module.exports = {
let actions = {}

let mutableChoices = [
{ id: 'toggle', label: 'Toggle' },
{ id: 'true', label: 'Unmute' },
{ id: 'false', label: 'Mute' },
{ id: 'toggle', label: 'Toggle' },
]

actions['mic'] = {
Expand All @@ -15,7 +15,7 @@ module.exports = {
type: 'dropdown',
label: 'Action',
id: 'value',
default: 'true',
default: 'toggle',
choices: mutableChoices,
required: true,
},
Expand All @@ -29,7 +29,7 @@ module.exports = {
type: 'dropdown',
label: 'Action',
id: 'value',
default: 'true',
default: 'toggle',
choices: mutableChoices,
required: true,
},
Expand Down Expand Up @@ -59,7 +59,7 @@ module.exports = {
type: 'dropdown',
label: 'Action',
id: 'value',
default: 'true',
default: 'toggle',
choices: mutableChoices,
required: true,
},
Expand Down

0 comments on commit a3b9bb8

Please sign in to comment.