|
@@ -440,7 +440,7 @@
|
|
|
</button>
|
|
|
{/if}
|
|
|
|
|
|
- {#if items.find((item) => item.model?.connection_type === 'local') && items.find((item) => item.model?.connection_type === 'external')}
|
|
|
+ {#if items.find((item) => item.model?.connection_type === 'local')}
|
|
|
<button
|
|
|
class="min-w-fit outline-none p-1.5 {selectedConnectionType === 'local'
|
|
|
? ''
|
|
@@ -452,6 +452,9 @@
|
|
|
>
|
|
|
{$i18n.t('Local')}
|
|
|
</button>
|
|
|
+ {/if}
|
|
|
+
|
|
|
+ {#if items.find((item) => item.model?.connection_type === 'external')}
|
|
|
<button
|
|
|
class="min-w-fit outline-none p-1.5 {selectedConnectionType === 'external'
|
|
|
? ''
|