small fix

This commit is contained in:
CITE\amentis 2024-10-14 11:15:32 +03:00
parent 910c56064f
commit 4c039f0bab
1 changed files with 1 additions and 4 deletions

View File

@ -58,10 +58,7 @@ public class CssColorsTenantConfigurationPersist {
return Arrays.asList( return Arrays.asList(
this.spec() this.spec()
.must(() -> !this.isEmpty(item.getPrimaryColor())) .must(() -> !this.isEmpty(item.getPrimaryColor()))
.failOn(CssColorsTenantConfigurationPersist._primaryColor).failWith(messageSource.getMessage("Validation_Required", new Object[]{CssColorsTenantConfigurationPersist._primaryColor}, LocaleContextHolder.getLocale())), .failOn(CssColorsTenantConfigurationPersist._primaryColor).failWith(messageSource.getMessage("Validation_Required", new Object[]{CssColorsTenantConfigurationPersist._primaryColor}, LocaleContextHolder.getLocale()))
this.spec()
.must(() -> !this.isEmpty(item.getCssOverride()))
.failOn(CssColorsTenantConfigurationPersist._cssOverride).failWith(messageSource.getMessage("Validation_Required", new Object[]{CssColorsTenantConfigurationPersist._cssOverride}, LocaleContextHolder.getLocale()))
); );
} }
} }