mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
[32982] Expose BIM export format only on bim mode
https://community.openproject.com/wp/32982 [ci skip]
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
module OpenProject::Bim::Patches
|
||||
module API::V3::ExportFormats
|
||||
def representation_formats
|
||||
super + [representation_format_bcf]
|
||||
if OpenProject::Configuration.bim?
|
||||
super + [representation_format_bcf]
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
def representation_format_bcf
|
||||
|
||||
Reference in New Issue
Block a user