diff --git a/src/components/NodeStats.vue b/src/components/NodeStats.vue index 64159ed..ddc673e 100644 --- a/src/components/NodeStats.vue +++ b/src/components/NodeStats.vue @@ -2,11 +2,11 @@ import sensortag from '@/assets/sensortag.png' import tsn_switch from '@/assets/tsn_switch.png' import five_g_gnb from '@/assets/five_g_gnb.png' -import { Network, SelectedNode } from '@/hooks/useStates' +import { Network } from '@/hooks/useStates' import { NODE_TYPE, NODE_TYPE_DISPLAY_NAME } from '@/core/typedefs' import { Picture } from '@element-plus/icons-vue' -const images: { [type: number]: string } = { +const avatars: { [type: number]: string } = { [NODE_TYPE.TSCH]: sensortag, [NODE_TYPE.TSN]: tsn_switch, [NODE_TYPE.FIVE_G_GNB]: five_g_gnb @@ -14,23 +14,33 @@ const images: { [type: number]: string } = {