Skip to content

Commit

Permalink
Merge branch 'acceptance' into fix/enable-setLanguage-in-iframe-PAGE-…
Browse files Browse the repository at this point in the history
…4371
  • Loading branch information
JorisPannekeet authored May 6, 2024
2 parents 10fc4a1 + ed5174a commit 9cc94c1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [2.187.1](https://github.com/bettyblocks/material-ui-component-set/compare/v2.187.0...v2.187.1) (2024-05-01)


### Bug Fixes

* added url for file/image properties in conditional ([1ac3591](https://github.com/bettyblocks/material-ui-component-set/commit/1ac35917aea58739834fb6c926eb43c81fae39e7))

# [2.187.0](https://github.com/bettyblocks/material-ui-component-set/compare/v2.186.0...v2.187.0) (2024-04-03)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "component-set",
"version": "2.187.0",
"version": "2.187.1",
"main": "dist/templates.json",
"license": "UNLICENSED",
"private": false,
Expand Down
7 changes: 6 additions & 1 deletion src/prefabs/backOffice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5623,7 +5623,12 @@ const beforeCreate = ({
if (noEmptyValueConditional.type === 'COMPONENT') {
setOption(noEmptyValueConditional, 'left', (originalOption: any) => ({
...originalOption,
value: [enrichVarObj({ ...prop })],
value: [
{
...enrichVarObj({ ...prop }),
useKey: (prop.kind === 'IMAGE' || prop.kind === 'FILE') && 'url',
},
],
}));
setOption(
noEmptyValueConditional,
Expand Down

0 comments on commit 9cc94c1

Please sign in to comment.