[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:
tamaragruszka
2024-03-11 11:54:27 +01:00
committed by GitHub
parent b5d2193416
commit a9780b352d
5 changed files with 75 additions and 10 deletions

View File

@@ -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 {