mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 22:16:00 +00:00
FK secondary checkbox
This commit is contained in:
@@ -52,6 +52,22 @@
|
||||
}}
|
||||
/>
|
||||
|
||||
{#if node.secondaryCheckable}
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={node.isSecondaryChecked}
|
||||
on:click={e => {
|
||||
e.stopPropagation();
|
||||
}}
|
||||
on:mousedown={e => {
|
||||
e.stopPropagation();
|
||||
}}
|
||||
on:change={() => {
|
||||
node.toggleSecondaryChecked();
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
<FontIcon icon={node.icon} />
|
||||
|
||||
<span>{node.title}</span>
|
||||
|
||||
Reference in New Issue
Block a user