sign ou
This commit is contained in:
parent
2f7d0a2e73
commit
b503ca6901
|
@ -88,7 +88,7 @@ export class DynamicFormComponent implements OnInit {
|
|||
grp.groupFields.forEach((fld) => {
|
||||
if (fld.visible == true || fld.visible == "true")
|
||||
count++;
|
||||
if (fld.value != undefined)
|
||||
if (fld.value != undefined && fld.value !=" ")
|
||||
countDirtyValues++;
|
||||
});
|
||||
});
|
||||
|
@ -155,6 +155,15 @@ export class DynamicFormComponent implements OnInit {
|
|||
//this.dataModel.groups = this.dataModel.groups.slice(this.pager.startIndex, this.pager.endIndex + 1);
|
||||
}
|
||||
|
||||
signOut2() {debugger;
|
||||
var auth2 = gapi.auth2.getAuthInstance();
|
||||
auth2.signOut().then(function () {
|
||||
console.log('User signed out.');
|
||||
localStorage.removeItem('currentUser');
|
||||
this.tokenService.setToken('token',null);
|
||||
});
|
||||
}
|
||||
|
||||
onValueChanged(data?: any) {
|
||||
debugger;
|
||||
if (!this.form) { return; }
|
||||
|
|
Loading…
Reference in New Issue