-
Notifications
You must be signed in to change notification settings - Fork 13
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
IBX-154: Allowed to define if the alternative text for image field is required (2.5) #292
Conversation
adamwojs
commented
Jun 16, 2021
src/modules/multi-file-upload/services/multi.file.upload.service.js
Outdated
Show resolved
Hide resolved
{ fieldDefinitionIdentifier: mapping.nameFieldIdentifier, fieldValue: data.file.name }, | ||
{ | ||
fieldDefinitionIdentifier: mapping.nameFieldIdentifier, | ||
fieldValue: data.file.name |
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.
If multiline, the last item should have ,
at the end.
I think it was good with a single line, especially with that the second item also could be a single line now.
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.
Reverted to single line in a9149ae
{ | ||
fieldDefinitionIdentifier: mapping.contentFieldIdentifier, | ||
fieldValue: { fileName: data.file.name, data: data.fileReader.result.replace(/^.*;base64,/, '') }, | ||
fieldValue: fileValue |
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.
fieldValue: fileValue | |
fieldValue: fileValue, |
PR updated according to code review suggestions. |
QA approved, checked on ez Platform Enterprise 2.5 with .diff |