Fix contact info (#1087)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
Co-authored-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Andrey Sobolev
2022-03-03 16:26:00 +07:00
committed by GitHub
co-authored by Alexander Platov
parent 09c9b22938
commit 53ce98c2b3
8 changed files with 52 additions and 49 deletions
@@ -19,25 +19,25 @@
{#each filterTx([tx, ...tx.txes], core.class.TxCreateDoc) as ctx, i}
{#if i === 0}
<div class='mr-2'>
<IconAdd size={'small'} />
</div>
{/if}
{#if typeof viewlet?.component === 'string'}
<Component is={viewlet?.component} props={getProps(getDTxProps(ctx), edit)} on:close={onCancelEdit} />
{:else}
<svelte:component this={viewlet?.component} {...getProps(getDTxProps(ctx), edit)} on:close={onCancelEdit} />
<div class="mr-1"><IconAdd size={'small'} /></div>
{/if}
<div class="mr-1">
{#if typeof viewlet?.component === 'string'}
<Component is={viewlet?.component} props={getProps(getDTxProps(ctx), edit)} on:close={onCancelEdit} />
{:else}
<svelte:component this={viewlet?.component} {...getProps(getDTxProps(ctx), edit)} on:close={onCancelEdit} />
{/if}
</div>
{/each}
{#each filterTx([tx, ...tx.txes], core.class.TxRemoveDoc) as ctx, i}
{#if i === 0}
<div class='mr-2'>
<IconDelete size={'small'} />
</div>
{/if}
{#if typeof viewlet?.component === 'string'}
<Component is={viewlet?.component} props={getProps(getDTxProps(ctx), edit)} on:close={onCancelEdit} />
{:else}
<svelte:component this={viewlet?.component} {...getProps(getDTxProps(ctx), edit)} on:close={onCancelEdit} />
<div class="mr-1"><IconDelete size={'small'} /></div>
{/if}
<div class="mr-1">
{#if typeof viewlet?.component === 'string'}
<Component is={viewlet?.component} props={getProps(getDTxProps(ctx), edit)} on:close={onCancelEdit} />
{:else}
<svelte:component this={viewlet?.component} {...getProps(getDTxProps(ctx), edit)} on:close={onCancelEdit} />
{/if}
</div>
{/each}