+ );
+ }
+
+ const handleSelectTab = (tabId: string, event?: React.MouseEvent) => {
+ // clicking on the tab with the meta-key or ctrl pressed - opening the tab in a new window, and not switching to it
+ if (event && (event.metaKey || event.ctrlKey)) {
+ return;
+ }
+
+ setActiveTab(tabId);
+
+ history.push(`/settings/${tabId}`);
+ };
+
+ return (
+