diff --git a/readthedocsext/theme/templates/profiles/private/migrate_to_gh_app.html b/readthedocsext/theme/templates/profiles/private/migrate_to_gh_app.html index e8a90ab1..804aeda5 100644 --- a/readthedocsext/theme/templates/profiles/private/migrate_to_gh_app.html +++ b/readthedocsext/theme/templates/profiles/private/migrate_to_gh_app.html @@ -224,7 +224,7 @@

{% trans "Migrate all projects" %}

{% endblocktrans %}

- {% if migration_targets and not step_revoke_completed %} + {% if has_projects_pending_migration and not step_revoke_completed %}
{% blocktrans trimmed with migrate_step="?step=migrate" manual_migration_docs="#" %}