-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config delay #154
base: widget
Are you sure you want to change the base?
Config delay #154
Conversation
@@ -245,7 +245,7 @@ export default class Resource extends Component { | |||
{this.fields().map(field => { | |||
if (field === 'title') { | |||
return ( | |||
<div className="cloudinary-field__field"> | |||
<div className="cloudinary-field__field" key={ field }> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The key
will always have a value of title
it seems
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which is fine, as long as it's unique for that instance. There's only one title field for an instance of a Cloudinary field.
@@ -259,7 +259,7 @@ export default class Resource extends Component { | |||
|
|||
if (field === 'description') { | |||
return ( | |||
<div className="cloudinary-field__field"> | |||
<div className="cloudinary-field__field" key={ field }> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The key
will always have a value of description
it seems
@@ -273,7 +273,7 @@ export default class Resource extends Component { | |||
|
|||
if (field === 'credit') { | |||
return ( | |||
<div className="cloudinary-field__field"> | |||
<div className="cloudinary-field__field" key={ field }> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The key
will always have a value of credit
it seems
@@ -287,7 +287,7 @@ export default class Resource extends Component { | |||
|
|||
if (field === 'gravity') { | |||
return ( | |||
<div className="cloudinary-field__field"> | |||
<div className="cloudinary-field__field" key={ field }> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again
@@ -305,7 +305,7 @@ export default class Resource extends Component { | |||
|
|||
if (field === 'fg-colour' && resource_type === 'image' && top_colours && top_colours.length) { | |||
return ( | |||
<div className="cloudinary-field__field"> | |||
<div className="cloudinary-field__field" key={ field }> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again
@@ -333,7 +333,7 @@ export default class Resource extends Component { | |||
|
|||
if (field === 'bg-colour' && resource_type === 'image' && top_colours && top_colours.length) { | |||
return ( | |||
<div className="cloudinary-field__field"> | |||
<div className="cloudinary-field__field" key={ field }> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...
No description provided.