Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only lead climbs #60

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
14 changes: 12 additions & 2 deletions components/logBooks/outdoors/LogBookList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ export default {
user: {
type: Object,
default: null
},
onlyLeadClimbs: {
type: Boolean,
default: false
}
},

Expand Down Expand Up @@ -120,7 +124,12 @@ export default {
this.ascendedCragRoutes()
}
},

onlyLeadClimbs () {
if (!this.firstLoading) {
this.resetAscents()
this.ascendedCragRoutes()
}
},
pectum83 marked this conversation as resolved.
Show resolved Hide resolved
climbingType () {
if (!this.firstLoading) {
this.resetAscents()
Expand Down Expand Up @@ -153,7 +162,8 @@ export default {
promise = new LogBookOutdoorApi(this.$axios, this.$auth).ascendedCragRoutes(
this.order,
this.climbingType,
this.page
this.page,
this.onlyLeadClimbs
)
}

Expand Down
3 changes: 2 additions & 1 deletion lang/en-US.js
Original file line number Diff line number Diff line change
Expand Up @@ -1978,7 +1978,8 @@ export default {
comment: 'My comment',
private_comment: 'Comment is private',
released_at: 'Released at',
hardness_status: 'Difficulty appreciation'
hardness_status: 'Difficulty appreciation',
only_lead_climbs: 'Only Lead Climbs'
},
ascentGymRoute: {
type: 'Type',
Expand Down
3 changes: 2 additions & 1 deletion lang/fr-FR.js
Original file line number Diff line number Diff line change
Expand Up @@ -1978,7 +1978,8 @@ export default {
comment: 'Mon commentaire',
private_comment: 'Commentaire privé',
released_at: 'Réalisé le',
hardness_status: 'Appréciation de la difficulté'
hardness_status: 'Appréciation de la difficulté',
only_lead_climbs: 'Exclure les moulinettes'
},
ascentGymRoute: {
type: 'Type',
Expand Down
Loading