Skip to content

Commit fef8672

Browse files
committed
Open routing panel with POI finish when Directions clicked in FIPanel
1 parent d721e5b commit fef8672

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/routing/RoutingPanel.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ export default {
152152
this.drawerOpen = state === undefined ? !this.drawerOpen : state;
153153
});
154154
WguEventBus.$on('directions-to-feature', feature => {
155+
this.drawerOpen = true;
155156
if (this.toggleGroup) {
156-
WguEventBus.$emit(this.toggleGroup, { moduleName: this.moduleName });
157+
WguEventBus.$emit(this.toggleGroup, { moduleName: this.moduleName, state: this.drawerOpen });
157158
}
158159
this.$refs.toSelector.setTargetById(feature.get('id'));
159160
this.showDirectionsControls = true;

0 commit comments

Comments
 (0)