From d152d0cd108d14f5f08ae55e92c3396a20bef176 Mon Sep 17 00:00:00 2001 From: freyamade Date: Mon, 7 Feb 2022 11:43:36 +0000 Subject: [PATCH] Fix errors in bis list form --- frontend/src/components/bis_list_form.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/bis_list_form.vue b/frontend/src/components/bis_list_form.vue index f7d55c1a..54efc7e9 100644 --- a/frontend/src/components/bis_list_form.vue +++ b/frontend/src/components/bis_list_form.vue @@ -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' @@ -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'