Skip to content

Commit

Permalink
Fix: when you open OSINT sources multiple times you get first Osint g…
Browse files Browse the repository at this point in the history
…roups scren which you must first close to continue work
  • Loading branch information
Jan Polonsky committed Aug 23, 2024
1 parent 1001146 commit 2d9ecb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gui/src/components/config/osint_sources/CardGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
},
methods: {
itemClicked(data) {
this.$root.$emit('show-edit', data)
this.$root.$emit('show-edit-src-grp', data)
},
deleteClicked(data) {
this.$root.$emit('delete-item', data)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export default {
this.osint_sources = this.$store.getters.getOSINTSources.items
});
this.$root.$on('show-edit', (data) => {
this.$root.$on('show-edit-src-grp', (data) => {
this.visible = true;
this.edit = true;
this.show_error = false;
Expand All @@ -235,7 +235,7 @@ export default {
});
},
beforeDestroy() {
this.$root.$off('show-edit')
this.$root.$off('show-edit-src-grp')
}
}
</script>

0 comments on commit 2d9ecb7

Please sign in to comment.