Skip to content

Commit

Permalink
story #11488: Fix message when creating a profile with a description …
Browse files Browse the repository at this point in the history
…longer than 100 characters (#1361)

Co-authored-by: mohamed tizaoui <mohamed.tizaoui@teamdlab.com>
  • Loading branch information
2 people authored and laedanrex committed Jul 18, 2023
1 parent d75892f commit 65b3634
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class ExternalParamProfileDto extends IdDto {
private String name;

@NotNull
@Length(min = 2, max = 100)
@Length(min = 2, max = 250)
private String description;

@NotNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ export class ExternalParamProfileService extends SearchService<ExternalParamProf
icon: 'vitamui-icon-admin-key',
translateParams: { name: response.name },
});
},
(error) => this.snackBarService.open({ message: error.error.message, translate: false })
}
)
);
}
Expand Down

0 comments on commit 65b3634

Please sign in to comment.