We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f9e360 commit f351b21Copy full SHA for f351b21
web_src/js/features/repo-migrate.ts
@@ -7,7 +7,10 @@ export function initRepoMigrationStatusChecker() {
7
const repoMigrating = document.querySelector('#repo_migrating');
8
if (!repoMigrating) return;
9
10
- document.querySelector('#repo_migrating_retry').addEventListener('click', doMigrationRetry);
+ const retryBtn = document.querySelector('#repo_migrating_retry');
11
+ if (retryBtn) {
12
+ retryBtn.addEventListener('click', doMigrationRetry);
13
+ }
14
15
const task = repoMigrating.getAttribute('data-migrating-task-id');
16
0 commit comments