diff --git a/src/assets/css/components/views/charts/chartRelationShipList.scss b/src/assets/css/components/views/charts/chartRelationShipList.scss index 3d976d16..85347f9e 100644 --- a/src/assets/css/components/views/charts/chartRelationShipList.scss +++ b/src/assets/css/components/views/charts/chartRelationShipList.scss @@ -119,6 +119,10 @@ color: #333333; font-weight: 400; line-height: 19px; + i { + color: #23BF9A; + margin-right: 4px; + } } .ship-body-list-security-alert.critical { background-color: #D84C4C; diff --git a/src/views/charts/charts/ChartRelationShip.vue b/src/views/charts/charts/ChartRelationShip.vue index 0df3d9d1..d809858c 100644 --- a/src/views/charts/charts/ChartRelationShip.vue +++ b/src/views/charts/charts/ChartRelationShip.vue @@ -107,7 +107,7 @@ - {{$t('relationShip.noRecentAlerts')}} + {{$t('relationShip.noRecentAlerts')}} @@ -192,13 +192,10 @@ export default { this.tableName = params.data.name _this.timer = setTimeout(() => { _this.timers = setTimeout(() => { - console.log(dom.offsetHeight, params.event.event.offsetY, div.offsetTop) if (dom.offsetHeight > (params.event.event.offsetY + div.offsetHeight)) { - console.log(1) div.style.top = params.event.event.offsetY + 'px' div.style.left = params.event.event.offsetX + 'px' } else { - console.log(2) div.style.top = params.event.event.offsetY - div.offsetHeight + 'px' div.style.left = params.event.event.offsetX + 'px' }