This commit is contained in:
annampak 2017-10-18 21:35:36 +03:00
parent ab5d169e77
commit 79de9808c4
3 changed files with 3 additions and 3 deletions

View File

@ -169,7 +169,7 @@ export class DynamicFormComponent implements OnInit {
//this.dataModel.groups = this.dataModel.groups.slice(this.pager.startIndex, this.pager.endIndex + 1);
}
signOut2() {debugger;
signOut2() {
    var auth2 = gapi.auth2.getAuthInstance();
    auth2.signOut().then(function () {
      console.log('User signed out.');

View File

@ -1,4 +1,4 @@
<div> <a [routerLink]="['/dynamic-form',123]"> dataset</a></div>
<div style="margin: auto; max-width: 1000px; margin-top:50px">
<data-table id="films-grid" headerTitle="My Projects" [items]="projects" [itemCount]="projectCount" (reload)="reloadProjects($event)"
[limit]="8" [sortBy]="'rating'" [sortAsc]="false" [selectColumn]="true" [multiSelect]="false" [substituteRows]="false"

View File

@ -48,7 +48,7 @@ export class RestBase {
}
private createOptions(){debugger;
private createOptions(){
var token = this.tokenService.getToken();
var provider: TokenProvider = this.tokenService.getProvider();
//var csrfToken : string = this.tokenService.getCSRFToken();