aboutsummaryrefslogtreecommitdiff
path: root/src/RegexField.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/RegexField.js')
-rw-r--r--src/RegexField.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/RegexField.js b/src/RegexField.js
index 926a3bc..d4080a1 100644
--- a/src/RegexField.js
+++ b/src/RegexField.js
@@ -72,10 +72,10 @@ const RegexFieldWithStyles = withStyles(styles)(RegexField);
export function CalendarField(props) {
let options = {};
- for (let id in props.cached.calendars) {
+ for (let id in props.calendars) {
options[id] = new Pattern(id, false,
- props.cached.calendars[id].name,
- props.cached.calendars[id].name);
+ props.calendars[id].name,
+ props.calendars[id].name);
}
return (
<RegexFieldWithStyles