mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
externalize system config js in demo and fix some tslin error
This commit is contained in:
@@ -62,10 +62,11 @@ import { ALFRESCO_ULPOAD_COMPONENTS, UploadService } from 'ng2-alfresco-upload/d
|
||||
})
|
||||
export class MyDemoApp {
|
||||
token: string;
|
||||
|
||||
constructor(alfrescoSettingsService: AlfrescoSettingsService) {
|
||||
alfrescoSettingsService.host = 'http://192.168.99.100:8080';
|
||||
|
||||
if(localStorage.getItem('token')) {
|
||||
if (localStorage.getItem('token')) {
|
||||
this.token = localStorage.getItem('token');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user