@alfresco/adf-content-services 8.4.0-17617861152 → 8.4.0-17644123790

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.
@@ -25801,8 +25801,8 @@ class AlfrescoViewerComponent {
25801
25801
  }
25802
25802
  else {
25803
25803
  await this.setUpNodeFile(this.nodeEntry.entry);
25804
+ this.cdr.detectChanges();
25804
25805
  }
25805
- this.cdr.detectChanges();
25806
25806
  }
25807
25807
  catch {
25808
25808
  this.urlFileContent = 'invalid-node';
@@ -25929,8 +25929,7 @@ class AlfrescoViewerComponent {
25929
25929
  if (!this.isSourceDefined()) {
25930
25930
  throw new Error('A content source attribute value is missing.');
25931
25931
  }
25932
- if (changes.nodeId?.currentValue !== changes.nodeId?.previousValue ||
25933
- changes.versionId?.currentValue !== changes.versionId?.previousValue) {
25932
+ if (changes.nodeId?.currentValue !== changes.nodeId?.previousValue) {
25934
25933
  this.setupNode();
25935
25934
  }
25936
25935
  else if (this.sharedLinkId) {