mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 14:06:00 +00:00
option not to show FK hints
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
import ReferenceHeader from './ReferenceHeader.svelte';
|
||||
import SqlDataGridCore from './SqlDataGridCore.svelte';
|
||||
import SqlFormView from '../formview/SqlFormView.svelte';
|
||||
import { getBoolSettingsValue } from '../settings/settingsTools';
|
||||
|
||||
export let conid;
|
||||
export let database;
|
||||
@@ -52,7 +53,8 @@
|
||||
setConfig,
|
||||
cache,
|
||||
setCache,
|
||||
$dbinfo
|
||||
$dbinfo,
|
||||
{ showHintColumns: getBoolSettingsValue('dataGrid.showHintColumns', true) }
|
||||
)
|
||||
: null;
|
||||
|
||||
@@ -64,7 +66,8 @@
|
||||
setConfig,
|
||||
cache,
|
||||
setCache,
|
||||
$dbinfo
|
||||
$dbinfo,
|
||||
{ showHintColumns: getBoolSettingsValue('dataGrid.showHintColumns', true) }
|
||||
)
|
||||
: null;
|
||||
|
||||
|
||||
@@ -26,7 +26,8 @@
|
||||
|
||||
<div class="heading">Data grid</div>
|
||||
<FormCheckboxField name="dataGrid.hideLeftColumn" label="Hide left column by default" />
|
||||
<FormTextField name="dataGrid.pageSize" label="Page size" defaultValue="100" />
|
||||
<FormTextField name="dataGrid.pageSize" label="Page size (number of rows for incremental loading)" defaultValue="100" />
|
||||
<FormCheckboxField name="dataGrid.showHintColumns" label="Show foreign key hints" defaultValue={true} />
|
||||
|
||||
<div slot="footer">
|
||||
<FormSubmit value="OK" on:click={handleOk} />
|
||||
|
||||
Reference in New Issue
Block a user