mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-1115] Quick Share (#492)
* share file * fix * fix test dependency * experimental guard
This commit is contained in:
committed by
Denys Vuika
parent
e5bc3bb755
commit
3e123bee62
@@ -30,7 +30,13 @@ import {
|
||||
AuthenticationService, AlfrescoApiService } from '@alfresco/adf-core';
|
||||
import { Store } from '@ngrx/store';
|
||||
import { AppStore } from './store/states/app.state';
|
||||
import { SetHeaderColorAction, SetAppNameAction, SetLogoPathAction, SetLanguagePickerAction } from './store/actions';
|
||||
import {
|
||||
SetHeaderColorAction,
|
||||
SetAppNameAction,
|
||||
SetLogoPathAction,
|
||||
SetLanguagePickerAction,
|
||||
SetSharedUrlAction
|
||||
} from './store/actions';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
@@ -94,5 +100,8 @@ export class AppComponent implements OnInit {
|
||||
}
|
||||
const languagePicker = this.config.get<boolean>('languagePicker');
|
||||
this.store.dispatch(new SetLanguagePickerAction(languagePicker));
|
||||
|
||||
const sharedPreviewUrl = this.config.get<string>('ecmHost') + '/#/preview/s/';
|
||||
this.store.dispatch(new SetSharedUrlAction(sharedPreviewUrl));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user