Correctly set redaction color

This commit is contained in:
Adina Țeudan 2022-02-09 14:57:18 +02:00
parent 184fb42835
commit 40ff7602c9
3 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ export class FileWorkloadComponent {
}
get redactionColor() {
return this._getDictionaryColor('dossier_redaction');
return this._getDictionaryColor('redaction');
}
private _getDictionaryColor(type: string) {

View File

@ -23,6 +23,6 @@ export class DossierWorkloadColumnComponent {
}
get redactionColor() {
return this._appStateService.getDictionaryColor('dossier_redaction', this.dossier.dossierTemplateId);
return this._appStateService.getDictionaryColor('redaction', this.dossier.dossierTemplateId);
}
}

View File

@ -350,7 +350,7 @@ export class AppStateService {
dictionaryData['redaction'] = new Dictionary(
{
hexColor: colors.previewColor || FALLBACK_COLOR,
hexColor: colors.manualRedactionColor || FALLBACK_COLOR,
type: 'redaction',
},
true,