fix demo document list

This commit is contained in:
Eugenio Romano 2016-07-05 14:12:38 +01:00
parent 0687e9f5fa
commit 00423d3c64

View File

@ -46,7 +46,7 @@ import {
operations. operations.
</div> </div>
<hr> <hr>
<div class="container"> <div class="container" *ngIf="authenticated">
<alfresco-document-list-breadcrumb <alfresco-document-list-breadcrumb
[currentFolderPath]="currentPath" [currentFolderPath]="currentPath"
@ -106,7 +106,7 @@ import {
title="{{'DOCUMENT_LIST.ACTIONS.FOLDER.DELETE' | translate}}" title="{{'DOCUMENT_LIST.ACTIONS.FOLDER.DELETE' | translate}}"
handler="delete"> handler="delete">
</content-action> </content-action>
<!-- document actions --> <!-- document actions -->
<content-action <content-action
target="document" target="document"
@ -195,6 +195,7 @@ class DocumentListDemo implements OnInit {
this.authService.login('admin', 'admin', ['ECM']).subscribe( this.authService.login('admin', 'admin', ['ECM']).subscribe(
token => { token => {
console.log(token); console.log(token);
this.token = token;
this.authenticated = true; this.authenticated = true;
}, },
error => { error => {