compare tab => premium

This commit is contained in:
SPRINX0\prochazka
2024-11-01 13:28:40 +01:00
parent 521e4ea3a2
commit 1f9f997748
5 changed files with 21 additions and 625 deletions

View File

@@ -333,6 +333,7 @@
isSqlOrDoc &&
_.get($currentDatabase, 'connection._id') &&
hasPermission('dbops/model/compare') &&
isProApp() &&
(_.get($currentDatabase, 'connection._id') != _.get(connection, '_id') ||
(_.get($currentDatabase, 'connection._id') == _.get(connection, '_id') &&
_.get($currentDatabase, 'name') != _.get(connection, 'name'))) && {
@@ -406,6 +407,7 @@
import { openImportExportTab } from '../utility/importExportTools';
import newTable from '../tableeditor/newTable';
import { loadSchemaList, switchCurrentDatabase } from '../utility/common';
import { isProApp } from '../utility/proTools';
export let data;
export let passProps;