mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-25 09:43:49 +02:00
Fix null image crash
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user