File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export default class ForeignInlineListPlugin extends AdminForthPlugin {
6363 return { error : await tr ( `Resource {resourceId} not found` , 'errors' , { resourceId } ) } ;
6464 }
6565
66- const resourceCopy = JSON . parse ( JSON . stringify ( { ...resource , plugins : undefined } ) ) ;
66+ const resourceCopy = clone ( { ...resource , plugins : undefined } ) ;
6767
6868
6969 if ( this . options . modifyTableResourceConfig ) {
@@ -151,6 +151,7 @@ export default class ForeignInlineListPlugin extends AdminForthPlugin {
151151 ...this . options ,
152152 pluginInstanceId : this . pluginInstanceId ,
153153 disableForeignListResourceRefColumn : this . options . disableForeignListResourceRefColumn ,
154+ foreignResourceId : this . options . foreignResourceId ,
154155 ...( defaultSort
155156 ? {
156157 defaultSort : {
You can’t perform that action at this time.
0 commit comments