This commit is contained in:
parent
674b81e53a
commit
24250e4eb3
1 changed files with 3 additions and 1 deletions
|
@ -73,7 +73,9 @@ export class Asset extends Model {
|
|||
/// #if !MOBILE
|
||||
if (typeof pdfId === "string") {
|
||||
this.getPdfId(() => {
|
||||
onPageNumberChanged({value: this.pdfPage, pdfInstance: this.pdfObject, id: this.pdfId});
|
||||
if (this.pdfPage) {
|
||||
onPageNumberChanged({value: this.pdfPage, pdfInstance: this.pdfObject, id: this.pdfId});
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue