Skip to content

Commit

Permalink
fix(dho-selector): check if data exist (#2468)
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenijesavic authored Sep 20, 2023
1 parent 90dd6fb commit 50eae70
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 50eae70

Please sign in to comment.