mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +08:00
Merge pull request #3432 from biosistemika/july2021-local-rc
July 1.22.1 local release
This commit is contained in:
commit
7a00adea5d
3 changed files with 10 additions and 1 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.22.0
|
||||
1.22.1
|
||||
|
|
|
@ -57,6 +57,8 @@ class Asset < ApplicationRecord
|
|||
|
||||
attr_accessor :file_content, :file_info, :in_template
|
||||
|
||||
before_save :reset_file_processing, if: -> { file.new_record? }
|
||||
|
||||
def self.search(
|
||||
user,
|
||||
include_archived,
|
||||
|
@ -495,4 +497,8 @@ class Asset < ApplicationRecord
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
def reset_file_processing
|
||||
self.file_processing = false
|
||||
end
|
||||
end
|
||||
|
|
|
@ -21,3 +21,6 @@
|
|||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= javascript_pack_tag 'pdfjs/pdf_js' %>
|
||||
<%= stylesheet_pack_tag 'pdfjs/pdf_js_styles' %>
|
||||
|
|
Loading…
Reference in a new issue