Dateset Edtitor: Scroll to top in Main info. Add checkVisibility in recursion of progress bar status calculation. Increase time of selected entry in tableofcontents
This commit is contained in:
parent
59cba483b6
commit
655483b8e2
|
@ -1239,6 +1239,7 @@ export class DatasetWizardComponent extends CheckDeactivateBaseComponent impleme
|
|||
this.step = index + (selected.type === ToCEntryType.FieldSet?1:0.5);
|
||||
} else {
|
||||
this.step = 0;
|
||||
this.resetScroll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -179,12 +179,12 @@ export class FormProgressIndicationComponent extends BaseComponent implements On
|
|||
if(!checkVisibility || (!formControl.get('id')?.value || this.visibilityRulesService.checkElementVisibility(formControl.get('id').value))) {
|
||||
Object.keys(formControl.controls).forEach(item => {
|
||||
const control = formControl.get(item);
|
||||
valueCurrent = valueCurrent + this.countFormControlsRequiredFieldsForTotal(control);
|
||||
valueCurrent = valueCurrent + this.countFormControlsRequiredFieldsForTotal(control, checkVisibility);
|
||||
});
|
||||
}
|
||||
} else if (formControl instanceof FormArray) {
|
||||
formControl.controls.forEach(item => {
|
||||
valueCurrent = valueCurrent + this.countFormControlsRequiredFieldsForTotal(item);
|
||||
valueCurrent = valueCurrent + this.countFormControlsRequiredFieldsForTotal(item, checkVisibility);
|
||||
});
|
||||
}
|
||||
return valueCurrent;
|
||||
|
|
|
@ -449,7 +449,7 @@ export class TableOfContents extends BaseComponent implements OnInit, OnChanges
|
|||
this.entrySelected.emit({entry: entry, execute: execute});
|
||||
setTimeout(() => {
|
||||
this.isSelecting = false;
|
||||
}, 200);
|
||||
}, 600);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
"loginProviders": {
|
||||
"enabled": [1, 2, 3, 4, 5, 6, 7, 8],
|
||||
"facebookConfiguration": { "clientId": "" },
|
||||
"googleConfiguration": { "clientId": "" },
|
||||
"googleConfiguration": { "clientId": "524432312250-sc9qsmtmbvlv05r44onl6l93ia3k9deo.apps.googleusercontent.com" },
|
||||
"linkedInConfiguration": {
|
||||
"clientId": "",
|
||||
"oauthUrl": "https://www.linkedin.com/oauth/v2/authorization",
|
||||
|
|
Loading…
Reference in New Issue