diff --git a/src/common/components/view/find-popup.js b/src/common/components/view/find-popup.js index 93d0c0f0..b9f6d13e 100644 --- a/src/common/components/view/find-popup.js +++ b/src/common/components/view/find-popup.js @@ -86,6 +86,7 @@ function FindPopup({ params, onChange, onFindNext, onFindPrevious }) { className="toolbarButton findPrevious" title="Find the previous occurrence of the phrase" tabIndex="-1" + disabled={params.result?.total <= 1} onClick={onFindPrevious} />
@@ -94,6 +95,7 @@ function FindPopup({ params, onChange, onFindNext, onFindPrevious }) { className="toolbarButton findNext" title="Find the next occurrence of the phrase" tabIndex="-1" + disabled={params.result?.total <= 1} onClick={onFindNext} />