From 46b3ff1e0e0fe63fc737a27b0b0e7cd0ff602c58 Mon Sep 17 00:00:00 2001 From: akhuoa Date: Fri, 15 Nov 2024 10:42:54 +1300 Subject: [PATCH] Fix connectivity graph error and button style --- src/components/ConnectivityInfo.vue | 11 +++++++++-- src/components/SideBar.vue | 14 +++++++------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/components/ConnectivityInfo.vue b/src/components/ConnectivityInfo.vue index 73528860..10375ace 100644 --- a/src/components/ConnectivityInfo.vue +++ b/src/components/ConnectivityInfo.vue @@ -765,8 +765,15 @@ export default { } .el-button-secondary { - border-color: transparent; - background-color: transparent; + border-color: transparent !important; + background-color: transparent !important; + color: inherit !important; + + &:hover { + color: $app-primary-color !important; + border-color: $app-primary-color !important; + background-color: #f9f2fc !important; + } } .buttons-row { diff --git a/src/components/SideBar.vue b/src/components/SideBar.vue index 66df6a5e..12554766 100644 --- a/src/components/SideBar.vue +++ b/src/components/SideBar.vue @@ -300,6 +300,13 @@ export default { tabClose: function (id) { this.$emit('tab-close', id); }, + /** + * To receive error message for connectivity graph + * @param {String} errorMessage + */ + updateConnectivityGraphError: function (errorMessage) { + EventBus.emit('connectivity-graph-error', errorMessage); + }, }, computed: { activeTabs: function() { @@ -314,13 +321,6 @@ export default { } return tabs; }, - /** - * To receive error message for connectivity graph - * @param {String} errorMessage - */ - updateConnectivityGraphError: function (errorMessage) { - EventBus.emit('connectivity-graph-error', errorMessage); - }, }, created: function () { this.drawerOpen = this.openAtStart