diff --git a/frontend/public/locales/en-GB/translation.toml b/frontend/public/locales/en-GB/translation.toml index ba3f3a706..5d9f08467 100644 --- a/frontend/public/locales/en-GB/translation.toml +++ b/frontend/public/locales/en-GB/translation.toml @@ -4103,6 +4103,7 @@ editStampHint = "To change the image, delete this stamp and add a new one." editSwitchToSelect = "Switch to Select & Edit to edit this annotation." undo = "Undo" redo = "Redo" +applyChanges = "Apply Changes" [search] title = "Search PDF" diff --git a/frontend/src/core/components/viewer/useViewerRightRailButtons.tsx b/frontend/src/core/components/viewer/useViewerRightRailButtons.tsx index a3c749e3c..f5444c666 100644 --- a/frontend/src/core/components/viewer/useViewerRightRailButtons.tsx +++ b/frontend/src/core/components/viewer/useViewerRightRailButtons.tsx @@ -58,9 +58,6 @@ export function useViewerRightRailButtons() { const saveChangesLabel = t('rightRail.saveChanges', 'Save Changes'); const viewerButtons = useMemo(() => { - const exportState = viewer.getExportState(); - const canExport = Boolean(exportState?.canExport); - const buttons: RightRailButtonWithAction[] = [ { id: 'viewer-search',