Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
plugins
CiviCRM Gutenberg Blocks
Commits
4c6c63ea
Commit
4c6c63ea
authored
Sep 05, 2020
by
Andrei Mondoc
Browse files
typo
parent
a63c931f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/assets/blocks/civicrm-content/components/SelectContributionPageControl.js
View file @
4c6c63ea
...
...
@@ -52,7 +52,7 @@ const SelectContributionPageControl = ({ id, setAttributes }) => {
placeholder
=
{
__
(
'
Select a Contribution page
'
,
'
civicrm
'
)}
value
=
{
contributionPage
||
0
}
onChange
=
{(
option
)
=>
setAttributes
({
id
:
option
.
value
.
toSring
()
})
setAttributes
({
id
:
option
.
value
.
toS
t
ring
()
})
}
options
=
{
contributionPages
}
components
=
{{
Option
:
ContributionPageOption
}}
...
...
src/assets/blocks/civicrm-content/components/SelectEventControl.js
View file @
4c6c63ea
...
...
@@ -65,7 +65,7 @@ const SelectEventControl = ({ id, setAttributes }) => {
placeholder
=
{
__
(
'
Select an Event
'
,
'
civicrm
'
)}
value
=
{
event
||
0
}
onChange
=
{(
option
)
=>
setAttributes
({
id
:
option
.
value
.
toSring
()
})
setAttributes
({
id
:
option
.
value
.
toS
t
ring
()
})
}
options
=
{
events
}
components
=
{{
Option
:
EventOption
}}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment