Skip to content

Commit

Permalink
Merge pull request #840 from SanDiegoCountySheriff/bug/3880-fix-block…
Browse files Browse the repository at this point in the history
…-number-rules

fix: block number validation
  • Loading branch information
nwolfosh authored Nov 19, 2024
2 parents 586fcdc + 9b43a3a commit 2f5cade
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion UI/src/components/features/RipaFormContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ export default {
},
isLastLocationValid() {
return this.getLastLocation !== null
const lastLocation = this.getLastLocation()
return lastLocation !== null
},
getFavoriteLocations() {
Expand Down
2 changes: 1 addition & 1 deletion UI/src/components/molecules/RipaLocation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ export default {
},
blockNumberRulesV2() {
const blockNumber = this.model.location.blockNumber
const blockNumber = this.model.location.blockNumber || ''
return [
this.isLocationOptionsFilledV2 ||
Expand Down

0 comments on commit 2f5cade

Please sign in to comment.