mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
fix src not being null
This commit is contained in:
@@ -55,6 +55,7 @@ export default defineComponent({
|
||||
if (props.value.avatar?.id) {
|
||||
return `${getRootPath()}assets/${props.value.avatar.id}?key=system-small-cover`;
|
||||
}
|
||||
return null
|
||||
});
|
||||
|
||||
return { src };
|
||||
|
||||
Reference in New Issue
Block a user