@alfresco/adf-content-services 8.4.0-17577395873 → 8.4.0-17607479405
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();
|
|
25805
25804
|
}
|
|
25805
|
+
this.cdr.detectChanges();
|
|
25806
25806
|
}
|
|
25807
25807
|
catch {
|
|
25808
25808
|
this.urlFileContent = 'invalid-node';
|
|
@@ -25929,7 +25929,8 @@ 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
|
|
25932
|
+
if (changes.nodeId?.currentValue !== changes.nodeId?.previousValue ||
|
|
25933
|
+
changes.versionId?.currentValue !== changes.versionId?.previousValue) {
|
|
25933
25934
|
this.setupNode();
|
|
25934
25935
|
}
|
|
25935
25936
|
else if (this.sharedLinkId) {
|