mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-863] codelyzer documentlist (#2059)
* codelyzer documentlist * tslint error after codelizer * fix import * fix tag test
This commit is contained in:
committed by
Eugenio Romano
parent
fed2462586
commit
2e975dbc29
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import { Component, EventEmitter, Input, OnChanges, Output } from '@angular/core';
|
||||
import { AlfrescoApiService, LogService } from 'ng2-alfresco-core';
|
||||
import { ObjectDataTableAdapter } from 'ng2-alfresco-datatable';
|
||||
|
||||
@@ -52,7 +52,7 @@ import { ObjectDataTableAdapter } from 'ng2-alfresco-datatable';
|
||||
</div>
|
||||
`
|
||||
})
|
||||
export class WebscriptComponent {
|
||||
export class WebscriptComponent implements OnChanges {
|
||||
|
||||
@Input()
|
||||
scriptPath: string;
|
||||
@@ -101,7 +101,7 @@ export class WebscriptComponent {
|
||||
this.onSuccess.emit(this.data);
|
||||
|
||||
resolve();
|
||||
}, (error) => {
|
||||
}, (error) => {
|
||||
this.logService.log('Error' + error);
|
||||
reject();
|
||||
});
|
||||
|
Reference in New Issue
Block a user