mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-08 14:51:14 +00:00
[ACA-1743] extension settings (#1399)
* upgrade tslib * initial settings skeleton * migrate language picker setting * support string parameters * remove process extensions workaround * update extensions schema * update docs * unit tests * fix unit test
This commit is contained in:
@@ -32,7 +32,7 @@ import { Store } from '@ngrx/store';
|
||||
import {
|
||||
AppState,
|
||||
SetUserProfileAction,
|
||||
SetLanguagePickerAction
|
||||
SetSettingsParameterAction
|
||||
} from '@alfresco/aca-shared/store';
|
||||
|
||||
describe('CurrentUserComponent', () => {
|
||||
@@ -91,7 +91,9 @@ describe('CurrentUserComponent', () => {
|
||||
it('should set language picker state', done => {
|
||||
fixture.detectChanges();
|
||||
|
||||
store.dispatch(new SetLanguagePickerAction(true));
|
||||
store.dispatch(
|
||||
new SetSettingsParameterAction({ name: 'languagePicker', value: true })
|
||||
);
|
||||
|
||||
component.languagePicker$.subscribe((languagePicker: boolean) => {
|
||||
expect(languagePicker).toBe(true);
|
||||
|
Reference in New Issue
Block a user