diff --git a/apps/OpenSign/src/components/opensigndrive/DriveBody.js b/apps/OpenSign/src/components/opensigndrive/DriveBody.js index 4a7fde6b0..b0df1a745 100644 --- a/apps/OpenSign/src/components/opensigndrive/DriveBody.js +++ b/apps/OpenSign/src/components/opensigndrive/DriveBody.js @@ -371,12 +371,7 @@ function DriveBody(props) {
{ - if (rename) { - inputRef.current.setSelectionRange( - inputRef.current.value.length, - inputRef.current.value.length - ); - } else { + if (!rename) { handleOnclikFolder(data); } }} @@ -439,12 +434,7 @@ function DriveBody(props) {
{ - if (rename) { - inputRef.current.setSelectionRange( - inputRef.current.value.length, - inputRef.current.value.length - ); - } else { + if (!rename) { checkPdfStatus(data); } }}