Take out all special characters in string

This commit is contained in:
tiago.kayaya
2021-12-10 11:46:28 +01:00
parent d7300080c3
commit 7a2a21ec70
2 changed files with 1 additions and 2 deletions
@@ -41,13 +41,11 @@ export class NewGroupPage implements OnInit{
{
this.isGroupCreated = false;
//this.groupName = this.navParams.get('name');
alert('New group '+this.dataService.get("newGroup"))
}
ngOnInit() {
this.router.events.forEach((event) => {
if (event instanceof NavigationStart && event.url.startsWith('/home/chat')) {
alert('New group '+this.dataService.get("newGroup"))
if (this.dataService.get("newGroup")) {
this.task = this.dataService.get("task");
this.groupName = this.task.Folio;