cat-documents-ng 0.3.73 → 0.3.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7425,7 +7425,7 @@ class DocumentContentViewerComponent {
7425
7425
  * @type {boolean}
7426
7426
  */
7427
7427
  get isPdf() {
7428
- const ext = this.getFileExtension(this.documentUrl || this.documentName);
7428
+ const ext = this.getFileExtension(this.documentName);
7429
7429
  return ext === SHARED.PDF || ext === SHARED.PDF2;
7430
7430
  }
7431
7431
  /**
@@ -7441,7 +7441,7 @@ class DocumentContentViewerComponent {
7441
7441
  * @type {boolean}
7442
7442
  */
7443
7443
  get isWord() {
7444
- const ext = this.getFileExtension(this.documentUrl || this.documentName);
7444
+ const ext = this.getFileExtension(this.documentName);
7445
7445
  return ext === SHARED.DOCX || ext === SHARED.DOC;
7446
7446
  }
7447
7447
  /**
@@ -7449,7 +7449,7 @@ class DocumentContentViewerComponent {
7449
7449
  * @type {boolean}
7450
7450
  */
7451
7451
  get isCsv() {
7452
- const ext = this.getFileExtension(this.documentUrl || this.documentName);
7452
+ const ext = this.getFileExtension(this.documentName);
7453
7453
  return ext === SHARED.CSV;
7454
7454
  }
7455
7455
  /**