diff --git a/src/components/connections/ConnectionCard.tsx b/src/components/connections/ConnectionCard.tsx index 5fddf2ff..6a5df3f2 100644 --- a/src/components/connections/ConnectionCard.tsx +++ b/src/components/connections/ConnectionCard.tsx @@ -1,7 +1,7 @@ import { disconnectByIdAPI } from '@/api' import { LANG } from '@/config' import { fromNow, isLargeScreen, prettyBytesHelper } from '@/helper' -import { compactConnectionCard, language } from '@/store/settings' +import { compactConnectionCard, language, sourceIPLabelMap } from '@/store/settings' import type { Connection } from '@/types' import { ArrowDownIcon, @@ -97,10 +97,12 @@ export default defineComponent<{ ) const destination = props.conn.metadata.destinationIP || 'remote-resolve' + const sourceIP = + sourceIPLabelMap.value[props.conn.metadata.sourceIP] || props.conn.metadata.sourceIP const connection = (