mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2149] Update ng-packagr to 2.0.0 (#2935)
* ng-packagr version 2.0.0 core fixes * fix content services jsdoc * fix process service jsdoc * last update new build 2.0.0 * fix comment jsdoc
This commit is contained in:
@@ -41,7 +41,7 @@ export class ViewerExtensionDirective implements AfterContentInit {
|
||||
}
|
||||
|
||||
ngAfterContentInit() {
|
||||
this.templateModel = {template: this.template, isVisible: false};
|
||||
this.templateModel = { template: this.template, isVisible: false };
|
||||
|
||||
this.viewerComponent.extensionTemplates.push(this.templateModel);
|
||||
|
||||
@@ -58,10 +58,8 @@ export class ViewerExtensionDirective implements AfterContentInit {
|
||||
|
||||
/**
|
||||
* check if the current extension in the viewer is compatible with this extension checking against supportedExtensions
|
||||
*
|
||||
* @returns {boolean}
|
||||
*/
|
||||
isVisible(fileExtension) {
|
||||
isVisible(fileExtension): boolean {
|
||||
let supportedExtension: string;
|
||||
|
||||
if (this.supportedExtensions && (this.supportedExtensions instanceof Array)) {
|
||||
|
Reference in New Issue
Block a user