-
-
-
- {{ 'dictionary-overview.compare.compare' | translate }}
-
-
-
@@ -65,8 +67,8 @@
diff --git a/apps/red-ui/src/app/modules/shared/components/dictionary-manager/dictionary-manager.component.scss b/apps/red-ui/src/app/modules/shared/components/dictionary-manager/dictionary-manager.component.scss
index f1dad3ac6..92f0772dc 100644
--- a/apps/red-ui/src/app/modules/shared/components/dictionary-manager/dictionary-manager.component.scss
+++ b/apps/red-ui/src/app/modules/shared/components/dictionary-manager/dictionary-manager.component.scss
@@ -50,6 +50,12 @@ ngx-monaco-editor {
display: flex;
align-items: center;
margin-bottom: 16px;
+ justify-content: space-between;
+
+ > .compare {
+ display: flex;
+ align-items: center;
+ }
.mr-32 {
margin-right: 32px;
diff --git a/apps/red-ui/src/app/state/app-state.service.ts b/apps/red-ui/src/app/state/app-state.service.ts
index 26eefa813..e747812c1 100644
--- a/apps/red-ui/src/app/state/app-state.service.ts
+++ b/apps/red-ui/src/app/state/app-state.service.ts
@@ -282,7 +282,7 @@ export class AppStateService {
}
updateDossierDictionary(dossierTemplateId: string, dossierId: string) {
- // dossier exists, load it's dictionary
+ // dossier exists, load its dictionary
this._dictionaryControllerService.getDictionaryForType(dossierTemplateId, 'dossier_redaction', dossierId).subscribe(
typeData => {
this.activeDossier.type = typeData;
diff --git a/apps/red-ui/src/assets/styles/red-input.scss b/apps/red-ui/src/assets/styles/red-input.scss
index c87d57727..f9607a98e 100644
--- a/apps/red-ui/src/assets/styles/red-input.scss
+++ b/apps/red-ui/src/assets/styles/red-input.scss
@@ -1,10 +1,8 @@
@import 'variables';
@import 'red-mixins';
-form {
- .red-input-group:not(first-of-type) {
- margin-top: 14px;
- }
+form .red-input-group:not(first-of-type) {
+ margin-top: 14px;
}
.red-input-group {
@@ -103,13 +101,13 @@ form {
border-radius: 8px;
outline: none;
margin-top: 3px;
- min-height: 34px;
+ min-height: 36px;
&.with-icon {
padding-right: 34px;
}
- &:focus {
+ &:focus:not(:disabled):not(.mat-select-disabled) {
border-color: $accent;
}
@@ -126,7 +124,8 @@ form {
}
}
- &:disabled {
+ &:disabled,
+ &.mat-select-disabled {
background-color: $grey-2;
color: rgba($accent, 0.3);
}
diff --git a/libs/red-ui-http/src/lib/model/dictionary.ts b/libs/red-ui-http/src/lib/model/dictionary.ts
index da92bed2f..7b32c04be 100644
--- a/libs/red-ui-http/src/lib/model/dictionary.ts
+++ b/libs/red-ui-http/src/lib/model/dictionary.ts
@@ -42,6 +42,10 @@ export interface Dictionary {
* True if the type just for hint, not for redaction, default is false.
*/
hint?: boolean;
+ /**
+ * Label of the type
+ */
+ label?: string;
/**
* The rank of this dictionary, higher rank means higher importance.
*/