Correctly set redaction color
This commit is contained in:
parent
184fb42835
commit
40ff7602c9
@ -40,7 +40,7 @@ export class FileWorkloadComponent {
|
||||
}
|
||||
|
||||
get redactionColor() {
|
||||
return this._getDictionaryColor('dossier_redaction');
|
||||
return this._getDictionaryColor('redaction');
|
||||
}
|
||||
|
||||
private _getDictionaryColor(type: string) {
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -350,7 +350,7 @@ export class AppStateService {
|
||||
|
||||
dictionaryData['redaction'] = new Dictionary(
|
||||
{
|
||||
hexColor: colors.previewColor || FALLBACK_COLOR,
|
||||
hexColor: colors.manualRedactionColor || FALLBACK_COLOR,
|
||||
type: 'redaction',
|
||||
},
|
||||
true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user