fix src not being null

This commit is contained in:
Nitwel
2020-10-08 22:35:35 +02:00
parent d73ef72d33
commit a27d6e4fc0

View File

@@ -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 };