Skip to content

Commit

Permalink
fix: check for empty value
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed May 14, 2022
1 parent d244e71 commit d290622
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/pages/posts/domain/DomainSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ export default {
methods: {
emitDomainChange(event) {
if (!event.target.value) {
console.debug('No domain selected')
return
}
const DOMAIN = event.target.value
this.$emit('domainChange', DOMAIN)
Expand Down

0 comments on commit d290622

Please sign in to comment.