Compare commits
2 Commits
0c54b11923
...
e9e06fa51f
Author | SHA1 | Date |
---|---|---|
Sofia Papacharalampous | e9e06fa51f | |
Sofia Papacharalampous | 9bcc486c1c |
|
@ -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