mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
show testing shared templates
This commit is contained in:
1 parent
19e4bbc01e
commit
8e72b0b0e4
2 files changed
+2
-2
No files matched your search
@@ -54,7 +54,7 @@ class DashboardController < ApplicationController
|
||||
rel = templates.active.preload(:author).order(id: :desc)
|
||||
|
||||
if params[:q].blank?
|
||||
if Docuseal.multitenant?
|
||||
if Docuseal.multitenant? && !current_account.testing?
|
||||
rel = rel.where(folder_id: current_account.default_template_folder.id)
|
||||
else
|
||||
shared_template_ids =
|
||||
|
||||
Reference in new issue
Block a user