Skip to content
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

Merged
merged 2 commits into from
Jun 25, 2021

Conversation

adamwojs
Copy link
Member

@adamwojs adamwojs self-assigned this Jun 16, 2021
@adamwojs adamwojs requested a review from a team June 17, 2021 11:43
{ fieldDefinitionIdentifier: mapping.nameFieldIdentifier, fieldValue: data.file.name },
{
fieldDefinitionIdentifier: mapping.nameFieldIdentifier,
fieldValue: data.file.name
Copy link
Member

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.

Copy link
Member Author

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
fieldValue: fileValue
fieldValue: fileValue,

@dew326 dew326 requested review from GrabowskiM and tischsoic June 17, 2021 11:56
@adamwojs adamwojs requested a review from dew326 June 21, 2021 05:52
@adamwojs
Copy link
Member Author

PR updated according to code review suggestions.

@piotrbisaga
Copy link

piotrbisaga commented Jun 24, 2021

QA approved, checked on ez Platform Enterprise 2.5 with .diff

@adamwojs adamwojs merged commit 2cebaea into 1.5 Jun 25, 2021
@adamwojs adamwojs deleted the ibx_154_25 branch June 25, 2021 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants