diff --git a/app/components/layout/remote_translations_button_component.html.erb b/app/components/layout/remote_translations_button_component.html.erb index 99a590def..faa551128 100644 --- a/app/components/layout/remote_translations_button_component.html.erb +++ b/app/components/layout/remote_translations_button_component.html.erb @@ -1,11 +1,11 @@
diff --git a/app/components/layout/remote_translations_button_component.rb b/app/components/layout/remote_translations_button_component.rb index 44e3a380f..593f2cdaf 100644 --- a/app/components/layout/remote_translations_button_component.rb +++ b/app/components/layout/remote_translations_button_component.rb @@ -12,7 +12,7 @@ class Layout::RemoteTranslationsButtonComponent < ApplicationComponent private - def display_remote_translation_button? - remote_translations.none?(&:enqueued?) + def translations_in_progress? + remote_translations.any?(&:enqueued?) end end