mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-6587] ACA: Viewer does not update after restoring version and the toolbar disappears (#3669)
* [ACS-6587] update after restoring version * [ACS-6587] update tests * [ACS-6587] add tests and fixes * resolve conflicts content-management.service.spec.ts
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { Action } from '@ngrx/store';
|
||||
import { NodeEntry } from '@alfresco/js-api';
|
||||
import { Node, NodeEntry } from '@alfresco/js-api';
|
||||
|
||||
export enum ViewerActionTypes {
|
||||
ViewFile = 'VIEW_FILE',
|
||||
@@ -71,7 +71,7 @@ export class ClosePreviewAction implements Action {
|
||||
|
||||
export class RefreshPreviewAction implements Action {
|
||||
readonly type = ViewerActionTypes.RefreshPreview;
|
||||
constructor(public payload?: NodeEntry) {}
|
||||
constructor(public node: Node) {}
|
||||
}
|
||||
|
||||
export class PluginPreviewAction implements Action {
|
||||
|
Reference in New Issue
Block a user