mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 06:46:00 +00:00
color mark in connection tree
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
export let expandIcon = undefined;
|
||||
export let checkedObjectsStore = null;
|
||||
export let disableContextMenu = false;
|
||||
export let colorMark = null;
|
||||
|
||||
$: isChecked = checkedObjectsStore && $checkedObjectsStore.find(x => module.extractKey(data) == module.extractKey(x));
|
||||
|
||||
@@ -86,6 +87,9 @@
|
||||
{:else}
|
||||
<FontIcon {icon} />
|
||||
{/if}
|
||||
{#if colorMark}
|
||||
<FontIcon style={`color:${colorMark}`} icon="icon square" />
|
||||
{/if}
|
||||
{title}
|
||||
{#if statusIcon}
|
||||
<span class="status">
|
||||
|
||||
Reference in New Issue
Block a user