Merge remote-tracking branch 'origin/dmp-refactoring' into dmp-refactoring
This commit is contained in:
commit
c396e6a305
|
@ -666,8 +666,6 @@ export class DescriptionEditorComponent extends BaseEditor<DescriptionEditorMode
|
||||||
|
|
||||||
formSubmit(onSuccess?: (response) => void): void {
|
formSubmit(onSuccess?: (response) => void): void {
|
||||||
this.formService.removeAllBackEndErrors(this.formGroup);
|
this.formService.removeAllBackEndErrors(this.formGroup);
|
||||||
this.formService.touchAllFormFields(this.formGroup);
|
|
||||||
this.tocValidationService.validateForm();
|
|
||||||
if (this.formGroup.get('label').valid && this.formGroup.get('dmpId').valid && this.formGroup.get('dmpDescriptionTemplateId').valid
|
if (this.formGroup.get('label').valid && this.formGroup.get('dmpId').valid && this.formGroup.get('dmpDescriptionTemplateId').valid
|
||||||
&& this.formGroup.get('descriptionTemplateId').valid && this.formGroup.get('status').valid) {
|
&& this.formGroup.get('descriptionTemplateId').valid && this.formGroup.get('status').valid) {
|
||||||
this.persistEntity(onSuccess);
|
this.persistEntity(onSuccess);
|
||||||
|
|
|
@ -31,9 +31,8 @@
|
||||||
// Buffer bar
|
// Buffer bar
|
||||||
::ng-deep .mdc-linear-progress__buffer {
|
::ng-deep .mdc-linear-progress__buffer {
|
||||||
--mdc-linear-progress-track-height: 11px !important;
|
--mdc-linear-progress-track-height: 11px !important;
|
||||||
--mdc-linear-progress-active-indicator-color: var(--secondary-color) !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
::ng-deep .mdc-linear-progress__buffer-bar {
|
::ng-deep .mdc-linear-progress__buffer-bar {
|
||||||
--mdc-linear-progress-track-color: var(--secondary-color) !important;
|
--mdc-linear-progress-track-color: #e0e2ec !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue