mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
added new action to refresh(re-render) the current node (#1913)
This commit is contained in:
@@ -32,6 +32,7 @@ export enum ViewerActionTypes {
|
||||
ViewNodeVersion = 'VIEW_NODE_VERSION',
|
||||
FullScreen = 'FULLSCREEN_VIEWER',
|
||||
ClosePreview = 'CLOSE_PREVIEW',
|
||||
RefreshPreview = 'REFRESH_PREVIEW',
|
||||
PluginPreview = 'PLUGIN_PREVIEW'
|
||||
}
|
||||
|
||||
@@ -69,6 +70,11 @@ export class ClosePreviewAction implements Action {
|
||||
constructor(public payload?: MinimalNodeEntity) {}
|
||||
}
|
||||
|
||||
export class RefreshPreviewAction implements Action {
|
||||
readonly type = ViewerActionTypes.RefreshPreview;
|
||||
constructor(public payload?: MinimalNodeEntity) {}
|
||||
}
|
||||
|
||||
export class PluginPreviewAction implements Action {
|
||||
readonly type = ViewerActionTypes.PluginPreview;
|
||||
|
||||
|
Reference in New Issue
Block a user