connection tab

This commit is contained in:
Jan Prochazka
2022-05-19 08:26:51 +02:00
parent a799f9b9c9
commit e59eb4b8e6
9 changed files with 224 additions and 30 deletions

View File

@@ -87,7 +87,13 @@ registerCommand({
toolbarOrder: 1,
name: 'Connection',
testEnabled: () => !getCurrentConfig()?.runAsPortal,
onClick: () => showModal(ConnectionModal),
onClick: () => {
openNewTab({
title: 'New Connection',
icon: 'img connection',
tabComponent: 'ConnectionTab',
});
},
});
registerCommand({