Skip to content

Commit

Permalink
fix(dho-selector): check if data exist
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenijesavic committed Sep 20, 2023
1 parent 0e84c12 commit 1159594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/DhoSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export default {
result (res) {
const data = res.data?.queryDao
if (!(data.length)) {
if (!(data?.length)) {
this.daoQueryNumberOfRetires++
if (this.daoQueryNumberOfRetires > MAX_NUM_OF_RETIRES) {
this.$router.push({ path: '/not-found' })
Expand Down

0 comments on commit 1159594

Please sign in to comment.