RED-5784 - As the admin I want to configure the applied redaction color
- in case the applied redaction color is not provided, set the default one (#000000)
This commit is contained in:
parent
684cec4ed3
commit
3d82f821d8
@ -47,6 +47,8 @@ public class ColorsService {
|
||||
|
||||
public ColorsEntity saveColors(ColorsEntity colors) {
|
||||
|
||||
if (colors.getAppliedRedactionColor() == null) // store the default one in case non is provided
|
||||
colors.setAppliedRedactionColor("#000000");
|
||||
return colorsRepository.save(colors);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user