@alfresco/adf-content-services 8.2.0-17234132289 → 8.3.0
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.
|
@@ -1409,7 +1409,7 @@ class DiscoveryApiService {
|
|
|
1409
1409
|
this.ecmProductInfo$ = new Subject();
|
|
1410
1410
|
this.authenticationService.onLogin.subscribe(() => {
|
|
1411
1411
|
this.alfrescoApiService.alfrescoApiInitialized
|
|
1412
|
-
.pipe(filter(() => this.authenticationService.
|
|
1412
|
+
.pipe(filter(() => this.authenticationService.isLoggedIn()), take(1), switchMap(() => this.getEcmProductInfo()))
|
|
1413
1413
|
.subscribe((info) => this.ecmProductInfo$.next(info));
|
|
1414
1414
|
});
|
|
1415
1415
|
}
|
|
@@ -16789,7 +16789,7 @@ class SearchControlComponent {
|
|
|
16789
16789
|
return !!this.emptySearchTemplate;
|
|
16790
16790
|
}
|
|
16791
16791
|
isLoggedIn() {
|
|
16792
|
-
return this.authService.
|
|
16792
|
+
return this.authService.isLoggedIn();
|
|
16793
16793
|
}
|
|
16794
16794
|
inputChange(value) {
|
|
16795
16795
|
this.searchTerm = value;
|
|
@@ -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) {
|