mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-2948] Add process services extension in settings page (#1374)
* [ACA-2948] Add toggle in settings page for process services extension * [ACA-2948] Remove console log * [ACA-2948] Fix import
This commit is contained in:
@@ -41,7 +41,8 @@ export enum AppActionTypes {
|
||||
ResetSelection = 'RESET_SELECTION',
|
||||
SetInfoDrawerState = 'SET_INFO_DRAWER_STATE',
|
||||
SetInfoDrawerMetadataAspect = 'SET_INFO_DRAWER_METADATA_ASPECT',
|
||||
CloseModalDialogs = 'CLOSE_MODAL_DIALOGS'
|
||||
CloseModalDialogs = 'CLOSE_MODAL_DIALOGS',
|
||||
ToggleProcessServices = 'TOGGLE_PROCESS_SERVICES'
|
||||
}
|
||||
|
||||
export class SetInitialStateAction implements Action {
|
||||
@@ -113,3 +114,9 @@ export class SetRepositoryInfoAction implements Action {
|
||||
|
||||
constructor(public payload: RepositoryInfo) {}
|
||||
}
|
||||
|
||||
export class ToggleProcessServicesAction implements Action {
|
||||
readonly type = AppActionTypes.ToggleProcessServices;
|
||||
|
||||
constructor(public payload: boolean) {}
|
||||
}
|
||||
|
@@ -133,3 +133,8 @@ export const infoDrawerMetadataAspect = createSelector(
|
||||
selectApp,
|
||||
state => state.infoDrawerMetadataAspect
|
||||
);
|
||||
|
||||
export const getProcessServicesState = createSelector(
|
||||
selectApp,
|
||||
state => state.processServices
|
||||
);
|
||||
|
@@ -44,6 +44,7 @@ export interface AppState {
|
||||
showFacetFilter: boolean;
|
||||
documentDisplayMode: string;
|
||||
repository: RepositoryInfo;
|
||||
processServices: boolean;
|
||||
}
|
||||
|
||||
export interface AppStore {
|
||||
|
Reference in New Issue
Block a user