mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 14:06:00 +00:00
style
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
import FontIcon from '../icons/FontIcon.svelte';
|
import FontIcon from '../icons/FontIcon.svelte';
|
||||||
import DropDownButton from '../elements/DropDownButton.svelte';
|
import DropDownButton from '../elements/DropDownButton.svelte';
|
||||||
import splitterDrag from '../utility/splitterDrag';
|
import splitterDrag from '../utility/splitterDrag';
|
||||||
|
import _ from 'lodash';
|
||||||
|
|
||||||
import ColumnLabel from '../elements/ColumnLabel.svelte';
|
import ColumnLabel from '../elements/ColumnLabel.svelte';
|
||||||
import { isTypeDateTime } from 'dbgate-tools';
|
import { isTypeDateTime } from 'dbgate-tools';
|
||||||
@@ -80,9 +81,9 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<ColumnLabel {...column} />
|
<ColumnLabel {...column} />
|
||||||
|
|
||||||
{#if column.dataType && !order}
|
{#if _.isString(column.dataType) && !order}
|
||||||
<span class="data-type" title={column.dataType}>
|
<span class="data-type" title={column.dataType}>
|
||||||
{column.dataType}
|
{column.dataType.toLowerCase()}
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user