fixed CloudIDEA文件标记已读未读列表
This commit is contained in:
parent
0936bbd1c8
commit
487c6dc21a
|
@ -4,8 +4,8 @@ json.count @files_result['NumFiles']
|
|||
json.files do
|
||||
json.array! @files_result do |file|
|
||||
mark_file = @mark_files.select{|mark| mark.file_path.to_s == file['Name']}.first
|
||||
json.sha Base64.encode64(file.file['Name'].to_s)
|
||||
json.name file.file['Name']
|
||||
json.sha Base64.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
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue