refac
This commit is contained in:
1 parent
bbab64b53e
commit
646b64a318
2 files changed
+4
-2
No files matched your search
@@ -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