Skip to content

Commit 9571d56

Browse files
committed
fix(ScheduleExceptionForm): better name for "swap"
1 parent 4a6a5b0 commit 9571d56

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/editor/components/ScheduleExceptionForm.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ export default class ScheduleExceptionForm extends Component {
7171
{EXEMPLARS.map(exemplar => {
7272
return (
7373
<option value={exemplar} key={exemplar}>
74-
{toSentenceCase(exemplar)}
74+
{exemplar === 'SWAP'
75+
? 'Swap, add, or remove'
76+
: toSentenceCase(exemplar)
77+
}
7578
</option>
7679
)
7780
})}
@@ -110,7 +113,7 @@ export default class ScheduleExceptionForm extends Component {
110113
? <FormGroup
111114
controlId={`custom`}
112115
className={`col-xs-12`}>
113-
<ControlLabel>Select calendars to add:</ControlLabel>
116+
<ControlLabel>Select calendars to add (optional):</ControlLabel>
114117
<Select
115118
placeholder='Select calendar...'
116119
clearable
@@ -132,7 +135,7 @@ export default class ScheduleExceptionForm extends Component {
132135
})
133136
: []
134137
} />
135-
<ControlLabel>Select calendars to remove:</ControlLabel>
138+
<ControlLabel>Select calendars to remove (optional):</ControlLabel>
136139
<Select
137140
placeholder='Select calendar...'
138141
clearable

0 commit comments

Comments
 (0)