|
|
@@ -152,6 +152,10 @@ class RepositoriesController < ApplicationController |
|
|
|
|
|
|
|
|
@tags = result.is_a?(Hash) && result.key?(:status) ? [] : result
|
|
|
@tags = result.is_a?(Hash) && result.key?(:status) ? [] : result
|
|
|
else
|
|
|
else
|
|
|
|
|
|
name_result = Gitea::Repository::Tags::ListNameService.call(@owner, @project.identifier, params[:name])
|
|
|
|
|
|
|
|
|
|
|
|
@tag_names = result.is_a?(Hash) && result.key?(:status) ? [] : name_result
|
|
|
|
|
|
|
|
|
result = Gitea::Repository::Tags::ListService.call(current_user&.gitea_token, @owner.login, @project.identifier, {page: params[:page], limit: params[:limit]})
|
|
|
result = Gitea::Repository::Tags::ListService.call(current_user&.gitea_token, @owner.login, @project.identifier, {page: params[:page], limit: params[:limit]})
|
|
|
|
|
|
|
|
|
@tags = result.is_a?(Hash) && result.key?(:status) ? [] : result
|
|
|
@tags = result.is_a?(Hash) && result.key?(:status) ? [] : result
|
|
|
|