refac
This commit is contained in:
@@ -31,4 +31,3 @@
|
||||
{#if renderToString}
|
||||
{@html renderToString(content, { displayMode, throwOnError: false })}
|
||||
{/if}
|
||||
|
||||
|
||||
@@ -71,7 +71,10 @@
|
||||
</Tooltip>
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user