Skip to content

Commit

Permalink
Fix errors in bis list form
Browse files Browse the repository at this point in the history
  • Loading branch information
freyamade committed Feb 7, 2022
1 parent f8820b6 commit d152d0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/bis_list_form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ export default class BISListForm extends Vue {
// Update job icons when the job dropdown changes
changeMobileJobIcon(): void {
const selectedJob = (this.mobileJobPicker.options[this.mobileJobPicker.selectedIndex]).dataset.target
const selectedJob = (this.mobileJobPicker.options[this.mobileJobPicker.selectedIndex]).dataset.target as string
// Handle the flag for the offhand
this.displayOffhand = selectedJob === 'paladin'
Expand All @@ -393,7 +393,7 @@ export default class BISListForm extends Vue {
}
changeJobIcon(): void {
const selectedJob = (this.jobPicker.options[this.jobPicker.selectedIndex]).dataset.target
const selectedJob = (this.jobPicker.options[this.jobPicker.selectedIndex]).dataset.target as string
// Handle the flag for the offhand
this.displayOffhand = selectedJob === 'paladin'
Expand Down

0 comments on commit d152d0c

Please sign in to comment.