Skip to content

Commit

Permalink
Close editor pannel #505
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed May 13, 2024
1 parent 34b357f commit b771c3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions web/src/pages/map/editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ export default Vue.extend({
edition_stack(): void {
ExternalVueAppEvent.$emit('editor-count', this.edition_stack.length)
},
status(): void {
if (!this.status) {
this.$emit('close')
}
},
},
beforeMount(): void {
Expand Down
1 change: 1 addition & 0 deletions web/src/pages/map/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
:user="user"
:issue="editor"
@issue-done="markerLayer.corrected()"
@close="$refs.editor.hide()"
/>
</side-pannel>
</div>
Expand Down

0 comments on commit b771c3c

Please sign in to comment.