mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix eslint warnigs for core project (#7506)
This commit is contained in:
@@ -249,7 +249,7 @@ export class WidgetVisibilityService {
|
||||
|
||||
private getFormTabContainers(form: FormModel): ContainerModel[] {
|
||||
if (!!form) {
|
||||
return <ContainerModel[]> form.fields.filter(field => field.type === 'container' && field.tab);
|
||||
return form.fields.filter(field => field.type === 'container' && field.tab) as ContainerModel[];
|
||||
}
|
||||
return [];
|
||||
}
|
||||
@@ -345,7 +345,7 @@ export class WidgetVisibilityService {
|
||||
.pipe(
|
||||
map((res) => {
|
||||
const jsonRes = this.toJson(res);
|
||||
this.processVarList = <TaskProcessVariableModel[]> jsonRes;
|
||||
this.processVarList = jsonRes;
|
||||
return jsonRes;
|
||||
}),
|
||||
catchError(() => this.handleError())
|
||||
|
Reference in New Issue
Block a user