Skip to content

Commit

Permalink
Updated asset code for canvas-expression-lifecycle (elastic#66645)
Browse files Browse the repository at this point in the history
The demo code need the asset to be wrapped in "' and asset- to be appended onto the id.
  • Loading branch information
zbaxter authored Apr 7, 2021
1 parent 3953339 commit e6b0c65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/canvas/canvas-expression-lifecycle.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ Since all of the sub-expressions are now resolved into actual values, the <<imag
demodata
| image dataurl={
if condition={getCell price | gte 100}
then={asset 3cb3ec3a-84d7-48fa-8709-274ad5cc9e0b}
else={asset cbc11a1f-8f25-4163-94b4-2c3a060192e7}
then={asset "asset-3cb3ec3a-84d7-48fa-8709-274ad5cc9e0b"}
else={asset "asset-cbc11a1f-8f25-4163-94b4-2c3a060192e7"}
}
----

Expand Down

0 comments on commit e6b0c65

Please sign in to comment.