show multiple signatures toggle on cloud

pull/217/head
Pete Matsyburka 2 years ago
parent 0910c8e100
commit 5995f2e427

@ -123,7 +123,6 @@
<% end %>
</div>
<% end %>
<% if !Docuseal.multitenant? %>
<% account_config = AccountConfig.where(account: current_account, key: AccountConfig::ESIGNING_PREFERENCE_KEY).first_or_initialize(value: 'multiple') %>
<% if can?(:manage, account_config) %>
<div class="px-1 mt-8 max-w-xl">
@ -143,6 +142,5 @@
<% end %>
</div>
<% end %>
<% end %>
</div>
</div>

@ -341,8 +341,6 @@ module Submissions
def fetch_sign_reason(submitter)
reason_name = submitter.email || submitter.name || submitter.phone
return sign_reason(reason_name) if Docuseal.multitenant?
config =
if Docuseal.multitenant?
AccountConfig.where(account: submitter.account, key: AccountConfig::ESIGNING_PREFERENCE_KEY)

Loading…
Cancel
Save