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

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>
This commit is contained in:
Kaarina Tungseth 2021-04-07 10:16:39 -05:00 committed by GitHub
parent c89922a55c
commit 5de5f23fc3
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 demodata
| image dataurl={ | image dataurl={
if condition={getCell price | gte 100} if condition={getCell price | gte 100}
then={asset 3cb3ec3a-84d7-48fa-8709-274ad5cc9e0b} then={asset "asset-3cb3ec3a-84d7-48fa-8709-274ad5cc9e0b"}
else={asset cbc11a1f-8f25-4163-94b4-2c3a060192e7} else={asset "asset-cbc11a1f-8f25-4163-94b4-2c3a060192e7"}
} }
---- ----