Client: Fixed bug 69191
The "Save here" button is active on the "Save" panel in the PDF editor from the "Complete" folder.
This commit is contained in:
parent
98da68948c
commit
1965f8d4be
@ -119,6 +119,9 @@ const useSelectFolderDialog = ({}: UseSelectFolderDialogProps) => {
|
||||
|
||||
if (!selectedItemSecurity) return false;
|
||||
|
||||
if ("Create" in selectedItemSecurity && !selectedItemSecurity.Create)
|
||||
return true;
|
||||
|
||||
return "CopyTo" in selectedItemSecurity
|
||||
? !selectedItemSecurity?.CopyTo
|
||||
: !selectedItemSecurity.Copy;
|
||||
@ -136,4 +139,3 @@ const useSelectFolderDialog = ({}: UseSelectFolderDialogProps) => {
|
||||
};
|
||||
|
||||
export default useSelectFolderDialog;
|
||||
|
||||
|
@ -140,7 +140,7 @@ const Footer = React.memo(
|
||||
isDisabled={
|
||||
!withFooterInput
|
||||
? disableSubmitButton
|
||||
: disableSubmitButton && !currentFooterInputValue.trim()
|
||||
: disableSubmitButton || !currentFooterInputValue.trim()
|
||||
}
|
||||
onClick={onSubmit}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user