This commit is contained in:
Nikolaos Laskaris 2017-11-15 11:03:06 +02:00
parent 5459a79b6a
commit d986b7d47d
1 changed files with 2 additions and 10 deletions

View File

@ -211,7 +211,7 @@ export class DynamicFormComponent implements OnInit {
this.form.get(prop).setValue(flatList[prop].valueOf());
}
}
//this.form.get("namingConventionGroup.nonamingConventionA213").setValue("TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT");
}
ngAfterViewChecked(): void { //navigate to certain section of the page
@ -284,15 +284,7 @@ export class DynamicFormComponent implements OnInit {
// });
//this.dataModel.groups = this.dataModel.groups.slice(this.pagination.startIndex, this.pagination.endIndex + 1);
}
signOut2() {
var auth2 = gapi.auth2.getAuthInstance();
auth2.signOut().then(function () {
console.log('User signed out.');
localStorage.removeItem('currentUser');
});
this.tokenService.setToken(null); //kanonika prepei na mpei mesa sthn function.....
}
toggleTOC(){
this.expandedToc = !this.expandedToc;