mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[AAE-6294] The list should be refreshed without allowing a used to se… (#2629)
* [AAE-6294] The list should be refreshed without allowing a used to select the same folder already deleted * Changes done as per comment * resolved build fails
This commit is contained in:
@@ -42,5 +42,6 @@ export enum AppActionTypes {
|
||||
CloseModalDialogs = 'CLOSE_MODAL_DIALOGS',
|
||||
SetFileUploadingDialog = 'SET_FILE_UPLOADING_DIALOG',
|
||||
ShowInfoDrawerPreview = 'SHOW_INFO_DRAWER_PREVIEW',
|
||||
SetInfoDrawerPreviewState = 'SET_INFO_DRAWER_PREVIEW_STATE'
|
||||
SetInfoDrawerPreviewState = 'SET_INFO_DRAWER_PREVIEW_STATE',
|
||||
ShowLoaderAction = 'SHOW_LOADER'
|
||||
}
|
||||
|
@@ -125,3 +125,9 @@ export class SetInfoDrawerPreviewStateAction implements Action {
|
||||
|
||||
constructor(public payload: boolean) {}
|
||||
}
|
||||
|
||||
export class ShowLoaderAction implements Action {
|
||||
readonly type = AppActionTypes.ShowLoaderAction;
|
||||
|
||||
constructor(public payload: boolean) {}
|
||||
}
|
||||
|
@@ -49,6 +49,7 @@ export const getRepositoryStatus = createSelector(selectApp, (state) => state.re
|
||||
export const isQuickShareEnabled = createSelector(getRepositoryStatus, (info) => info.status.isQuickShareEnabled);
|
||||
export const isAdmin = createSelector(selectApp, (state) => state.user.isAdmin);
|
||||
export const getFileUploadingDialog = createSelector(selectApp, (state) => state.fileUploadingDialog);
|
||||
export const showLoaderSelector = createSelector(selectApp, (state) => state.showLoader);
|
||||
|
||||
export const getSideNavState = createSelector(getAppSelection, getNavigationState, (selection, navigation) => ({
|
||||
selection,
|
||||
|
@@ -46,6 +46,7 @@ export interface AppState {
|
||||
documentDisplayMode: string;
|
||||
repository: RepositoryInfo;
|
||||
fileUploadingDialog: boolean;
|
||||
showLoader: boolean;
|
||||
}
|
||||
|
||||
export interface AppStore {
|
||||
|
Reference in New Issue
Block a user