This commit is contained in:
@@ -128,7 +128,10 @@ export function transformViewerDataToPages(data: ViewerData): PageData[] {
|
||||
baseObject.borderRadius = obj.borderRadius;
|
||||
}
|
||||
|
||||
if ((obj.type === "image" || obj.type === "sticker") && obj.imageUrl) {
|
||||
if (
|
||||
(obj.type === "image" || obj.type === "sticker" || obj.type === "document") &&
|
||||
obj.imageUrl
|
||||
) {
|
||||
baseObject.imageUrl = obj.imageUrl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user