mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
ACS-7390: Migrating content components to Standalone (#9997)
* ACS-7393: content metadata as standalone * ACS-7408: version manager as standalone * ACS-7408: version manager as standalone * ACS-7408: version manager as standalone * ACS-7407: upload as standalone * ACS-7404: tag as standalone * ACS-7404: tag as standalone * ACS-7401: permission manager as standalone * ACS-7395: content node share as standalone * ACS-7402: search components [ci:force] * ACS-7402: search components [ci:force] * content node selector panel * content node selector panel * Revert "content node selector panel" This reverts commit3ad828e443. * Revert "content node selector panel" This reverts commit5a2cd5a5b3.
This commit is contained in:
+3
-4
@@ -20,10 +20,10 @@ import { VersionCompatibilityService } from './version-compatibility.service';
|
||||
import { take } from 'rxjs/operators';
|
||||
|
||||
@Directive({
|
||||
selector: '[adf-acs-version]'
|
||||
selector: '[adf-acs-version]',
|
||||
standalone: true
|
||||
})
|
||||
export class VersionCompatibilityDirective {
|
||||
|
||||
/** Minimum version required for component to work correctly . */
|
||||
@Input('adf-acs-version')
|
||||
set version(requiredVersion: string) {
|
||||
@@ -34,8 +34,7 @@ export class VersionCompatibilityDirective {
|
||||
private templateRef: TemplateRef<any>,
|
||||
private viewContainer: ViewContainerRef,
|
||||
private versionCompatibilityService: VersionCompatibilityService
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
private validateAcsVersion(requiredVersion: string) {
|
||||
this.versionCompatibilityService.acsVersionInitialized$.pipe(take(1)).subscribe(() => {
|
||||
|
||||
Reference in New Issue
Block a user