mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
fix demo document list
This commit is contained in:
parent
0687e9f5fa
commit
00423d3c64
@ -46,7 +46,7 @@ import {
|
||||
operations.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="container">
|
||||
<div class="container" *ngIf="authenticated">
|
||||
|
||||
<alfresco-document-list-breadcrumb
|
||||
[currentFolderPath]="currentPath"
|
||||
@ -106,7 +106,7 @@ import {
|
||||
title="{{'DOCUMENT_LIST.ACTIONS.FOLDER.DELETE' | translate}}"
|
||||
handler="delete">
|
||||
</content-action>
|
||||
|
||||
|
||||
<!-- document actions -->
|
||||
<content-action
|
||||
target="document"
|
||||
@ -195,6 +195,7 @@ class DocumentListDemo implements OnInit {
|
||||
this.authService.login('admin', 'admin', ['ECM']).subscribe(
|
||||
token => {
|
||||
console.log(token);
|
||||
this.token = token;
|
||||
this.authenticated = true;
|
||||
},
|
||||
error => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user