Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix short description validator

Chocobozzzc5fe3434112e
diff --git a/client/src/app/shared/form-validators/custom-config-validators.ts b/client/src/app/shared/form-validators/custom-config-validators.ts
index ba8512e953..ff0813f7d8 100644
--- a/client/src/app/shared/form-validators/custom-config-validators.ts
+++ b/client/src/app/shared/form-validators/custom-config-validators.ts
@@ -9,9 +9,9 @@ export const INSTANCE_NAME_VALIDATOR: BuildFormValidator = {
}
export const INSTANCE_SHORT_DESCRIPTION_VALIDATOR: BuildFormValidator = {
- VALIDATORS: [ Validators.max(250) ],
+ VALIDATORS: [ Validators.maxLength(250) ],
MESSAGES: {
- max: $localize`Short description should not be longer than 250 characters.`
+ maxlength: $localize`Short description should not be longer than 250 characters.`
}
}