mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +00:00
chore: update preview.ts (#5765)
Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
This commit is contained in:
parent
390cac2cf2
commit
bacfb96206
@ -88,7 +88,7 @@ export function getSrcSet (_blob: Blob, width?: number): string {
|
|||||||
|
|
||||||
const cfg = c.previewers[_blob.provider] ?? c.default
|
const cfg = c.previewers[_blob.provider] ?? c.default
|
||||||
if (cfg === undefined) {
|
if (cfg === undefined) {
|
||||||
return '' // No previewer is avaialble for blob
|
return '' // No previewer is available for blob
|
||||||
}
|
}
|
||||||
|
|
||||||
return blobToSrcSet(cfg, blob, width)
|
return blobToSrcSet(cfg, blob, width)
|
||||||
|
Loading…
Reference in New Issue
Block a user