mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix demo document list
This commit is contained in:
@@ -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"
|
||||||
@@ -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 => {
|
||||||
|
Reference in New Issue
Block a user