ruby: convert after uploading only tagged formats

This commit is contained in:
sshakndr
2023-11-07 13:01:27 +07:00
parent d3185253a8
commit f7386df050
3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,6 @@
# Change Log
- ruby: convert after uploading only tagged formats
- python: convert after uploading only tagged formats
- php: convert after uploading only tagged formats
- setUsers for region protection

View File

@ -88,9 +88,7 @@ class FormatManager
sig { returns(T::Array[Format]) }
def convertible
all.filter do |format|
format.type == 'cell' && format.convert.include?('xlsx') ||
format.type == 'slide' && format.convert.include?('pptx') ||
format.type == 'word' && format.convert.include?('docx')
format.actions.include?('auto-convert')
end
end