Updated asset code for canvas-expression-lifecycle (#96414) (#96431)

The demo code need the asset to be wrapped in "' and asset- to be appended onto the id.

Co-authored-by: Zachary E Baxter <zachary.baxter@elastic.co>

Co-authored-by: Zachary E Baxter <zachary.baxter@elastic.co>
This commit is contained in:
Kaarina Tungseth 2021-04-07 10:28:14 -05:00 committed by GitHub
parent 9a0e6fbc4a
commit 36c8d6b605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"}
}
----