Skip to content

Commit

Permalink
Merge pull request #621 from AiursoftWeb/allowgroup
Browse files Browse the repository at this point in the history
Allow group with space.
  • Loading branch information
xxyzz authored Aug 8, 2019
2 parents 2dfaf25 + 576e96d commit 258f846
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/app/Controllers/friends.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ export class FriendsComponent implements OnInit {
showCancelButton: true,
}).then(input => {
if (input.value) {
if (input.value.includes(' ')) {
Swal.fire('Try again', 'Group name can\'t contain whitespaces.', 'error');
return;
}
if (input.value.length < 3 || input.value.length > 25) {
Swal.fire('Try again', 'Group name length must between three and twenty five.', 'error');
return;
Expand Down

0 comments on commit 258f846

Please sign in to comment.