mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
add missing color header action (#1403)
This commit is contained in:
@@ -30,6 +30,7 @@ import { AppState } from '../states/app.state';
|
||||
export enum AppActionTypes {
|
||||
SetSettingsParameter = 'SET_SETTINGS_PARAMETER',
|
||||
SetInitialState = 'SET_INITIAL_STATE',
|
||||
SetHeaderColor = 'SET_HEADER_COLOR',
|
||||
SetCurrentFolder = 'SET_CURRENT_FOLDER',
|
||||
SetCurrentUrl = 'SET_CURRENT_URL',
|
||||
SetUserProfile = 'SET_USER_PROFILE',
|
||||
@@ -56,6 +57,12 @@ export class SetInitialStateAction implements Action {
|
||||
constructor(public payload: AppState) {}
|
||||
}
|
||||
|
||||
export class SetHeaderColorAction implements Action {
|
||||
readonly type = AppActionTypes.SetHeaderColor;
|
||||
|
||||
constructor(public color: string) {}
|
||||
}
|
||||
|
||||
export class SetCurrentFolderAction implements Action {
|
||||
readonly type = AppActionTypes.SetCurrentFolder;
|
||||
|
||||
|
Reference in New Issue
Block a user