Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/components/SplitFlow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
@connectivity-hovered="onConnectivityHovered"
@connectivity-explorer-clicked="onConnectivityExplorerClicked"
@connectivity-source-change="onConnectivitySourceChange"
@connectivity-item-close="onConnectivityItemClose"
/>
<SplitDialog
:entries="entries"
Expand Down Expand Up @@ -154,6 +155,9 @@ export default {
this.search = payload.id
this.onDisplaySearch({ term: payload.id }, false, true);
},
onConnectivityItemClose: function () {
EventBus.emit('connectivity-item-close');
},
/**
* Callback when an action is performed (open new dialogs).
*/
Expand Down Expand Up @@ -307,7 +311,7 @@ export default {
* @arg featureIds
*/
onShowConnectivity: function (featureIds) {
if (featureIds.length) {
if (featureIds.length) {
const splitFlowState = this.splitFlowStore.getState();
const activeView = splitFlowState?.activeView || '';
// offset sidebar only on singlepanel and 2horpanel views
Expand Down
12 changes: 12 additions & 0 deletions src/mixins/ContentMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,18 @@ export default {
this.startHelp();
});

EventBus.on('connectivity-item-close', () => {
if (this.multiflatmapRef) {
const currentFlatmap = this.multiflatmapRef.getCurrentFlatmap();
if (currentFlatmap) {
currentFlatmap.closeTooltip();
}
}
if (this.flatmapRef) {
this.flatmapRef.closeTooltip();
}
});

this.multiflatmapRef = this.$refs.multiflatmap;
this.flatmapRef = this.$refs.flatmap;
this.scaffoldRef = this.$refs.scaffold;
Expand Down