mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-12-18 20:04:17 +01:00
frontend validation
This commit is contained in:
parent
786252e6f8
commit
c5d6716ab3
@ -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"
|
||||
|
||||
@ -58,9 +58,6 @@ export function useViewerRightRailButtons() {
|
||||
const saveChangesLabel = t('rightRail.saveChanges', 'Save Changes');
|
||||
|
||||
const viewerButtons = useMemo<RightRailButtonWithAction[]>(() => {
|
||||
const exportState = viewer.getExportState();
|
||||
const canExport = Boolean(exportState?.canExport);
|
||||
|
||||
const buttons: RightRailButtonWithAction[] = [
|
||||
{
|
||||
id: 'viewer-search',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user