From 9a0105bc0579d695d115ed735bacbdabe81ac9c7 Mon Sep 17 00:00:00 2001 From: Luis Ball Date: Thu, 13 Jun 2024 15:26:16 -0700 Subject: [PATCH] chore: add missing key to attribute path --- src/components/Dialog/Dialog.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Dialog/Dialog.tsx b/src/components/Dialog/Dialog.tsx index a4e0a3b1..c59756b3 100644 --- a/src/components/Dialog/Dialog.tsx +++ b/src/components/Dialog/Dialog.tsx @@ -308,9 +308,9 @@ export default class Dialog extends Component { : [assets.data]; assetObjects = assetsArray.map((asset: any) => { stringifyJsonFields(asset, [ - 'custom_fields', - 'tags', - 'colors.dominant_colors', + 'attributes.custom_fields', + 'attributes.tags', + 'attributes.colors.dominant_colors', ]); // TODO: add more explicit types for `asset` return {