Merge branch 'release/v2.6.0' of github.com:ONLYOFFICE/DocSpace-client into release/v2.6.0

This commit is contained in:
Alexey Safronov 2024-07-10 13:16:23 +04:00
commit 72f58e2843

View File

@ -2200,7 +2200,7 @@ class FilesStore {
if (!(isMasterForm && canDuplicate))
fileOptions = this.removeOptions(fileOptions, ["make-form"]);
if (!canSubmitToFormGallery) {
if (!canSubmitToFormGallery || isMasterForm) {
fileOptions = this.removeOptions(fileOptions, [
"submit-to-gallery",
"separator-SubmitToGallery",