Skip to content

Commit

Permalink
missing validation on recipient address and funding plan
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Jun 13, 2023
1 parent 889fa40 commit 7668a79
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion vue-app/src/locales/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@
"progress": {
"step": {
"project": "关于项目",
"donation": "捐款细节",
"fund": "捐款细节",
"team": "团队",
"links": "链接",
"image": "图片",
Expand Down
2 changes: 1 addition & 1 deletion vue-app/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@
"progress": {
"step": {
"project": "About the project",
"donation": "Donation details",
"fund": "Donation details",
"team": "Team details",
"links": "Links",
"image": "Images",
Expand Down
2 changes: 1 addition & 1 deletion vue-app/src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@
"progress": {
"step": {
"project": "Acerca del proyecto",
"donation": "Detalles de la donación",
"fund": "Detalles de la donación",
"team": "Detalles del equipo",
"links": "Enlaces",
"image": "Imágenes",
Expand Down
3 changes: 1 addition & 2 deletions vue-app/src/views/JoinView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ const rules = computed(() => {
const v$ = useVuelidate(rules, form)
const currentStep = ref<number>(0)
const steps = ['project', 'donation', 'team', 'links', 'image', 'review', 'submit', 'confirm']
const steps = ['project', 'fund', 'team', 'links', 'image', 'review', 'submit', 'confirm']
const stepNames = steps.slice(0, steps.length - 1)
const showSummaryPreview = ref(false)
const isWaiting = ref(false)
Expand Down Expand Up @@ -884,7 +884,6 @@ function isStepValid(step: number): boolean {
return isLinkStepValid()
}
const stepName: string = steps[step]
return !v$.value[stepName]?.$invalid
}
Expand Down

0 comments on commit 7668a79

Please sign in to comment.