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:
devplant 2023-01-25 14:56:31 +02:00
parent 684cec4ed3
commit 3d82f821d8

View File

@ -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);
}