fixed 已读未读标记优化
This commit is contained in:
parent
c60572e31f
commit
b949ee260d
|
@ -4,7 +4,7 @@ class MarkFilesController < ApplicationController
|
|||
before_action :load_pull_request
|
||||
|
||||
def index
|
||||
@files_result = Gitea::PullRequest::FilesService.call(@owner.login, @project.identifier, @pull_request.gitea_number, current_user&.gitea_token)
|
||||
@files_result = Gitea::PullRequest::FilesService.call(@owner.login, @project.identifier, @pull_request.gitea_number, current_user&.gitea_token, { "only-file-name": true })
|
||||
@mark_files = MarkFile.where(pull_request_id: @pull_request.id)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue