mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7100] ESLint support for ADF Core and DemoShell projects (#7481)
* remove tsconfig.base as per eslint schematics * add schematics * upgrade demoshell to eslint * fix eslint issues for demoshell * integrate eslint for ADF core and fix some issues * turn into warn * fix code * workaround for Chrome clipboard issue * exclude e2e tests * exclude e2e
This commit is contained in:
@@ -157,7 +157,7 @@ export class WidgetVisibilityService {
|
||||
|
||||
getFormValue(form: FormModel, fieldId: string): any {
|
||||
const formField = this.getFormFieldById(form, fieldId);
|
||||
let value = undefined;
|
||||
let value;
|
||||
|
||||
if (this.isFormFieldValid(formField)) {
|
||||
value = this.getFieldValue(form.values, fieldId);
|
||||
@@ -174,7 +174,8 @@ export class WidgetVisibilityService {
|
||||
}
|
||||
|
||||
getFieldValue(valueList: any, fieldId: string): any {
|
||||
let labelFilterByName, valueFound;
|
||||
let labelFilterByName;
|
||||
let valueFound;
|
||||
if (fieldId && fieldId.indexOf('_LABEL') > 0) {
|
||||
labelFilterByName = fieldId.substring(0, fieldId.length - 6);
|
||||
if (valueList[labelFilterByName]) {
|
||||
|
Reference in New Issue
Block a user