mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
Added some upgrades to demo and added the component to demo shell
This commit is contained in:
@@ -6,6 +6,7 @@ import { HTTP_PROVIDERS } from '@angular/http';
|
||||
import {
|
||||
AlfrescoSettingsService,
|
||||
AlfrescoAuthenticationService,
|
||||
MDL,
|
||||
ALFRESCO_CORE_PROVIDERS
|
||||
} from 'ng2-alfresco-core';
|
||||
|
||||
@@ -31,7 +32,7 @@ import {
|
||||
</p>
|
||||
</div>
|
||||
<div *ngIf="isLoggedIn()">
|
||||
<ng2-alfresco-userinfo [userEmail]=userToLogin></ng2-alfresco-userinfo>
|
||||
<ng2-alfresco-userinfo></ng2-alfresco-userinfo>
|
||||
</div>
|
||||
<p></p>
|
||||
<div>
|
||||
@@ -49,7 +50,7 @@ import {
|
||||
|
||||
<button (click)="logout()">Logout</button>`,
|
||||
directives: [ UserInfoComponent ],
|
||||
providers: [AlfrescoAuthenticationService, AlfrescoSettingsService]
|
||||
providers: [AlfrescoAuthenticationService, AlfrescoSettingsService, MDL]
|
||||
})
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user