[ADF-2645] move the service use in the upload in the right place (#3189)

[ADF-2645] move the service use in the upload in the right place 
[ADF-2687] No message is displayed when deleting a file/folder from content action
[ADF-2714] [demo shell] Not able to download a version of a file

* add spaces tslint fix
This commit is contained in:
Eugenio Romano
2018-04-14 10:39:24 +01:00
committed by GitHub
parent 66d8935624
commit 6cd0e9f5bb
23 changed files with 122 additions and 282 deletions
+15 -1
View File
@@ -25,17 +25,31 @@ export interface LangChangeEvent {
export class TranslationMock {
defaultLang: string = 'en';
userLang: string;
customLoader: any;
translate: any;
onLangChange: EventEmitter<LangChangeEvent> = new EventEmitter<LangChangeEvent>();
addTranslationFolder() {
}
get(key: string|Array<string>, interpolateParams?: Object): Observable<string|any> {
onTranslationChanged() {
}
use(): any {
}
get(key: string | Array<string>, interpolateParams?: Object): Observable<string | any> {
return Observable.of(key);
}
instant(key: string | Array<string>, interpolateParams?: Object): string | any {
return key;
}
}