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

The demo code need the asset to be wrapped in "' and asset- to be appended onto the id.
This commit is contained in:
Zachary E Baxter 2021-04-07 08:29:09 -06:00 committed by GitHub
parent 3953339ec7
commit e6b0c65cf6
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"}
}
----