SYNC: new object modal

This commit is contained in:
SPRINX0\prochazka
2025-07-16 09:35:11 +02:00
committed by Diflow
parent 445ecea3e6
commit 982098672e
7 changed files with 174 additions and 13 deletions

View File

@@ -5,6 +5,7 @@ import {
emptyConnectionGroupNames,
extensions,
getAppUpdaterActive,
getCloudSigninTokenHolder,
getExtensions,
getVisibleToolbar,
visibleToolbar,
@@ -132,7 +133,8 @@ registerCommand({
category: 'New',
toolbarOrder: 1,
name: 'Connection on Cloud',
testEnabled: () => !getCurrentConfig()?.runAsPortal && !getCurrentConfig()?.storageDatabase,
testEnabled: () =>
!getCurrentConfig()?.runAsPortal && !getCurrentConfig()?.storageDatabase && !!getCloudSigninTokenHolder(),
onClick: () => {
openNewTab({
title: 'New Connection on Cloud',