mirror of
https://github.com/directus/directus.git
synced 2026-01-23 16:38:00 -05:00
Fixed issue that would prevent the "Import from URL" functionality to work in a many to many interface (#6289)
Fixes #6287
This commit is contained in:
@@ -274,7 +274,12 @@ export default defineComponent({
|
||||
url: url.value,
|
||||
});
|
||||
|
||||
emit('input', response.data.data);
|
||||
if (props.multiple) {
|
||||
emit('input', [response.data.data]);
|
||||
} else {
|
||||
emit('input', response.data.data);
|
||||
}
|
||||
|
||||
activeDialog.value = null;
|
||||
url.value = '';
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user