Skip to content

Commit f3bab99

Browse files
authored
the moduleName passed to a doc type manager is the doc type, not the widget type you happen to be picking it for (#5047)
1 parent 15ec97e commit f3bab99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/@apostrophecms/image-widget/ui/apos/components/AposImageWidget.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async function selectFromManager() {
7070
7171
const [ selectedImg ] = (await apos.modal.execute(modalItem.componentName, {
7272
...modalItem.props,
73-
moduleName: props.type,
73+
moduleName: '@apostrophecms/image',
7474
chosen: [],
7575
relationshipField: { max: 1 }
7676
})) || [];

0 commit comments

Comments
 (0)