Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Commit d32c549

Browse files
committed
Thing
1 parent a961eb6 commit d32c549

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/content.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@
9292
console.debug('GitLab base URL:', this.baseUrl);
9393
console.debug('GitLab API base URL:', this.baseApiUrl);
9494

95-
this.removeExistingTargetBranchNodes();
96-
9795
let currentMergeRequestIds = this.getCurrentMergeRequestIdsAndSetUuidDataAttributes();
9896

9997
console.debug('Current merge requests IDs:', currentMergeRequestIds);
@@ -149,6 +147,7 @@
149147
this.apiClient.getProjectMergeRequests(
150148
function() {
151149
if (this.status == 200) {
150+
self.removeExistingTargetBranchNodes();
152151
self.updateMergeRequestsNodes(this.response);
153152
} else {
154153
console.error('Got error from GitLab:', this.status, this.response);

0 commit comments

Comments
 (0)