import { IconNetwork } from '@tabler/icons-solidjs' import { Component, Show } from 'solid-js' import { Modal } from '~/components' import { useI18n } from '~/i18n' import { allConnections } from '~/signals' export const ConnectionsTableDetailsModal: Component<{ ref?: (el: HTMLDialogElement) => void selectedConnectionID?: string }> = (props) => { const [t] = useI18n() return ( props.ref?.(el)} icon={} title={t('connectionsDetails')} >
          
            {JSON.stringify(
              allConnections().find(
                ({ id }) => id === props.selectedConnectionID,
              ),
              null,
              2,
            )}
          
        
) }