Skip to content

Commit 1fd7f28

Browse files
committed
fix sandbox
1 parent 9a855d8 commit 1fd7f28

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/sandbox/src/components/FieldPluginSandbox.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,15 @@ const useSandbox = (
252252
action: 'asset-selected',
253253
callbackId: message.callbackId,
254254
filename: `${originFromPluginParams(pluginParams)}/icon.svg`,
255+
fieldtype: 'asset',
256+
name: '',
257+
meta_data: {},
258+
title: '',
259+
copyright: '',
260+
focus: '',
261+
alt: '',
262+
source: '',
263+
is_private: false,
255264
})
256265
},
257266
[uid, pluginParams, dispatchAssetSelected],

0 commit comments

Comments
 (0)