We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0aaf21 commit d8fdbf2Copy full SHA for d8fdbf2
index.ts
@@ -69,7 +69,7 @@ export default class ForeignInlineListPlugin extends AdminForthPlugin {
69
70
// get resource with foreignResourceId
71
this.foreignResource = adminforth.config.resources.find((resource) => resource.resourceId === this.options.foreignResourceId);
72
- this.copyOfForeignResource = clone({ ...this.foreignResource });
+ this.copyOfForeignResource = clone({ ...this.foreignResource, plugins: undefined });
73
const idOfNewCopy = `${this.foreignResource.resourceId}_inline_list_copy_${this.pluginInstanceId}`;
74
this.copyOfForeignResource.resourceId = idOfNewCopy;
75
adminforth.config.resources.push(this.copyOfForeignResource);
0 commit comments