refac
This commit is contained in:
@@ -31,4 +31,3 @@
|
|||||||
{#if renderToString}
|
{#if renderToString}
|
||||||
{@html renderToString(content, { displayMode, throwOnError: false })}
|
{@html renderToString(content, { displayMode, throwOnError: false })}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,10 @@
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
||||||
<Tooltip content={connection.enabled ? $i18n.t('Enabled') : $i18n.t('Disabled')}>
|
<Tooltip content={connection.enabled ? $i18n.t('Enabled') : $i18n.t('Disabled')}>
|
||||||
<Switch state={connection.enabled} on:change={() => connection.enabled ? onDisable() : onEnable()} />
|
<Switch
|
||||||
|
state={connection.enabled}
|
||||||
|
on:change={() => (connection.enabled ? onDisable() : onEnable())}
|
||||||
|
/>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user