aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/custom-radio-list.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/custom-radio-list.js')
-rw-r--r--ui/app/components/custom-radio-list.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/custom-radio-list.js b/ui/app/components/custom-radio-list.js
index a19287630..a4c525396 100644
--- a/ui/app/components/custom-radio-list.js
+++ b/ui/app/components/custom-radio-list.js
@@ -14,7 +14,7 @@ RadioList.prototype.render = function () {
const activeClass = '.custom-radio-selected'
const inactiveClass = '.custom-radio-inactive'
const {
- lables,
+ labels,
defaultFocus,
} = props
@@ -30,7 +30,7 @@ RadioList.prototype.render = function () {
marginRight: '5px',
},
},
- lables.map((lable, i) => {
+ labels.map((lable, i) => {
let isSelcted = (this.state !== null)
isSelcted = isSelcted ? (this.state.selected === lable) : (defaultFocus === lable)
return h(isSelcted ? activeClass : inactiveClass, {
@@ -43,7 +43,7 @@ RadioList.prototype.render = function () {
})
),
h('.text', {},
- lables.map((lable) => {
+ labels.map((lable) => {
if (props.subtext) {
return h('.flex-row', {}, [
h('.radio-titles', lable),