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

@@ -45,6 +45,7 @@ import ConfirmModal from '../modals/ConfirmModal.svelte';
import localforage from 'localforage';
import { openImportExportTab } from '../utility/importExportTools';
import newTable from '../tableeditor/newTable';
import { isProApp } from '../utility/proTools';
// function themeCommand(theme: ThemeDefinition) {
// return {
@@ -298,20 +299,22 @@ registerCommand({
},
});
registerCommand({
id: 'new.modelCompare',
category: 'New',
icon: 'icon compare',
name: 'Compare DB',
toolbar: true,
onClick: () => {
openNewTab({
title: 'Compare',
icon: 'img compare',
tabComponent: 'CompareModelTab',
});
},
});
if (isProApp()) {
registerCommand({
id: 'new.modelCompare',
category: 'New',
icon: 'icon compare',
name: 'Compare DB',
toolbar: true,
onClick: () => {
openNewTab({
title: 'Compare',
icon: 'img compare',
tabComponent: 'CompareModelTab',
});
},
});
}
registerCommand({
id: 'new.jsonl',