Skip to content

Commit

Permalink
Merge pull request #93 from akhuoa/hotfix/connectivity-graph
Browse files Browse the repository at this point in the history
Fix connectivity graph error and button style
  • Loading branch information
alan-wu authored Nov 14, 2024
2 parents f33768a + 46b3ff1 commit a090294
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
11 changes: 9 additions & 2 deletions src/components/ConnectivityInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
14 changes: 7 additions & 7 deletions src/components/SideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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
Expand Down

0 comments on commit a090294

Please sign in to comment.