mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 17:16:01 +00:00
ask for send data
This commit is contained in:
@@ -410,6 +410,14 @@ ORDER BY
|
||||
{ value: 'download', label: 'Check and download new versions' },
|
||||
]}
|
||||
/>
|
||||
|
||||
{#if isProApp()}
|
||||
<FormCheckboxField
|
||||
name="ai.allowSendModels"
|
||||
label="Allow to send DB models and query snippets to AI service"
|
||||
defaultValue={false}
|
||||
/>
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
|
||||
<svelte:fragment slot="7">
|
||||
|
||||
@@ -115,6 +115,7 @@ export const currentEditorFontSize = getElectron()
|
||||
? writableSettingsValue(null, 'currentEditorFontSize')
|
||||
: writableWithStorage(null, 'currentEditorFontSize');
|
||||
export const currentEditorFont = writableSettingsValue(null, 'editor.fontFamily');
|
||||
export const allowedSendToAiService = writableSettingsValue(false, 'ai.allowSendModels');
|
||||
export const activeTabId = derived([openedTabs], ([$openedTabs]) => $openedTabs.find(x => x.selected)?.tabid);
|
||||
export const activeTab = derived([openedTabs], ([$openedTabs]) => $openedTabs.find(x => x.selected));
|
||||
export const recentDatabases = writableWithStorage([], 'recentDatabases');
|
||||
|
||||
Reference in New Issue
Block a user