diff --git a/apps/red-ui/src/app/modules/pdf-viewer/services/viewer-header.service.ts b/apps/red-ui/src/app/modules/pdf-viewer/services/viewer-header.service.ts
index bc905600b..a0ea2375f 100644
--- a/apps/red-ui/src/app/modules/pdf-viewer/services/viewer-header.service.ts
+++ b/apps/red-ui/src/app/modules/pdf-viewer/services/viewer-header.service.ts
@@ -93,7 +93,7 @@ export class ViewerHeaderService {
return {
type: 'actionButton',
title: this._translateService.instant('viewer-header.load-all-annotations'),
- img: this._convertPath('/assets/icons/general/pdftron-action-disable-tooltips.svg'),
+ img: this._convertPath('/assets/icons/general/pdftron-action-load-all-annotations.svg'),
onClick: () => this.#events$.next({ type: ViewerEvents.LOAD_ALL_ANNOTATIONS }),
dataElement: HeaderElements.LOAD_ALL_ANNOTATIONS,
};
@@ -235,9 +235,10 @@ export class ViewerHeaderService {
this._pdf.instance?.UI.setHeaderItems(header => {
const enabledItems: IHeaderElement[] = [];
const groups: HeaderElementType[][] = [
- [HeaderElements.COMPARE_BUTTON, HeaderElements.CLOSE_COMPARE_BUTTON, HeaderElements.LOAD_ALL_ANNOTATIONS],
+ [HeaderElements.COMPARE_BUTTON, HeaderElements.CLOSE_COMPARE_BUTTON],
[HeaderElements.TOGGLE_TOOLTIPS, HeaderElements.TOGGLE_READABLE_REDACTIONS],
[HeaderElements.SHAPE_TOOL_GROUP_BUTTON],
+ [HeaderElements.LOAD_ALL_ANNOTATIONS],
[
HeaderElements.ROTATE_LEFT_BUTTON,
HeaderElements.ROTATE_RIGHT_BUTTON,
@@ -256,14 +257,14 @@ export class ViewerHeaderService {
disableLoadAllAnnotations(): void {
this._pdf.instance.UI.updateElement(HeaderElements.LOAD_ALL_ANNOTATIONS, {
- img: this._convertPath('/assets/icons/general/pdftron-action-enable-tooltips.svg'),
+ img: this._convertPath('/assets/icons/general/pdftron-action-load-all-annotations-disabled.svg'),
onClick: undefined,
});
}
enableLoadAllAnnotations(): void {
this._pdf.instance.UI.updateElement(HeaderElements.LOAD_ALL_ANNOTATIONS, {
- img: this._convertPath('/assets/icons/general/pdftron-action-disable-tooltips.svg'),
+ img: this._convertPath('/assets/icons/general/pdftron-action-load-all-annotations.svg'),
onClick: () => this.#events$.next({ type: ViewerEvents.LOAD_ALL_ANNOTATIONS }),
});
}
diff --git a/apps/red-ui/src/assets/icons/general/pdftron-action-load-all-annotations-disabled.svg b/apps/red-ui/src/assets/icons/general/pdftron-action-load-all-annotations-disabled.svg
new file mode 100644
index 000000000..fca37efba
--- /dev/null
+++ b/apps/red-ui/src/assets/icons/general/pdftron-action-load-all-annotations-disabled.svg
@@ -0,0 +1,8 @@
+
+
+
diff --git a/apps/red-ui/src/assets/icons/general/pdftron-action-load-all-annotations.svg b/apps/red-ui/src/assets/icons/general/pdftron-action-load-all-annotations.svg
new file mode 100644
index 000000000..0adbff725
--- /dev/null
+++ b/apps/red-ui/src/assets/icons/general/pdftron-action-load-all-annotations.svg
@@ -0,0 +1,8 @@
+
+
+