Browse Source

fixed CloudIDEA文件标记已读未读列表

pull/313/head
“xxq250” 3 years ago
parent
commit
8a187df5f4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/mark_files/index.json.jbuilder

+ 1
- 1
app/views/mark_files/index.json.jbuilder View File

@@ -4,7 +4,7 @@ json.count @files_result['NumFiles']
json.files do
json.array! @files_result['Files'] do |file|
mark_file = @mark_files.select{|mark| mark.file_path.to_s == file['Name']}.first
json.sha Base64.encode64(file['Name'].to_s)
json.file_path_sha Base64.strict_encode64(file['Name'].to_s)
json.name file['Name']
json.mark_as_read mark_file.present? ? mark_file.mark_as_read : false
# json.updated_after_read mark_file.present? ? mark_file.updated_after_read : false


Loading…
Cancel
Save