Fix null image crash

This commit is contained in:
Natsumi
2025-03-24 15:25:54 +13:00
parent 71d8cc22bf
commit 63aa555eee

View File

@@ -404,6 +404,9 @@ export default {
return false; return false;
}, },
convertFileUrlToImageUrl(url, resolution = 128) { convertFileUrlToImageUrl(url, resolution = 128) {
if (!url) {
return '';
}
/** /**
* possible patterns? * possible patterns?
* /file/file_fileId/version * /file/file_fileId/version