summaryrefslogtreecommitdiff
path: root/app/views/shared/_remote_mirror_update_button.html.haml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-16 18:12:52 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-16 18:12:52 +0000
commit8a9790b0db723db32f8dff511ee032e5e8e3b583 (patch)
tree8173501b91ea0ada6a68d656786867b2abcc97f9 /app/views/shared/_remote_mirror_update_button.html.haml
parent7212129029f4e7e68614066cc43802faba42c554 (diff)
downloadgitlab-ce-8a9790b0db723db32f8dff511ee032e5e8e3b583.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/shared/_remote_mirror_update_button.html.haml')
-rw-r--r--app/views/shared/_remote_mirror_update_button.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_remote_mirror_update_button.html.haml b/app/views/shared/_remote_mirror_update_button.html.haml
index f3942aa5dc2..770d335a88b 100644
--- a/app/views/shared/_remote_mirror_update_button.html.haml
+++ b/app/views/shared/_remote_mirror_update_button.html.haml
@@ -3,5 +3,5 @@
button_options: { class: 'disabled', title: _('Updating'), data: { toggle: 'tooltip', container: 'body', qa_selector: 'updating_button' } },
icon_classes: 'spin')
- elsif remote_mirror.enabled?
- = link_to update_now_project_mirror_path(@project, sync_remote: true), method: :post, class: "btn btn-icon gl-button qa-update-now-button rspec-update-now-button", data: { toggle: 'tooltip', container: 'body' }, title: _('Update now') do
+ = link_to update_now_project_mirror_path(@project, sync_remote: true), method: :post, class: "btn btn-icon gl-button rspec-update-now-button", data: { toggle: 'tooltip', container: 'body', qa_selector: 'update_now_button' }, title: _('Update now') do
= sprite_icon("retry")