Skip to content

Commit 5909716

Browse files
fix: prevent redirection when navigating to the current integration (#1288)
(cherry picked from commit 11daec6)
1 parent 32510f0 commit 5909716

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/shared/components/menu/main-menu/main-menu.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ export class MainMenuComponent implements OnInit {
130130
options[0].items.unshift({
131131
label: integrationName,
132132
handler: () => {
133-
this.integrationsService.navigateToIntegration(integrationName);
133+
if (!this.isCurrentIntegration(integrationName)) {
134+
this.integrationsService.navigateToIntegration(integrationName);
135+
}
134136
}
135137
});
136138
}

0 commit comments

Comments
 (0)