diff --git a/frontend/.env b/frontend/.env index 83b72765..6b6891fc 100644 --- a/frontend/.env +++ b/frontend/.env @@ -1 +1 @@ -VUE_APP_VERSION="0.1.1" +VUE_APP_VERSION="0.1.2" diff --git a/frontend/src/components/bis_list_form.vue b/frontend/src/components/bis_list_form.vue index 8356b485..84fb5802 100644 --- a/frontend/src/components/bis_list_form.vue +++ b/frontend/src/components/bis_list_form.vue @@ -102,18 +102,18 @@
- - - - - - - - - - - - + + + + + + + + + + + +
@@ -126,18 +126,18 @@
- - - - - - - - - - - - + + + + + + + + + + + +
@@ -189,7 +189,7 @@ export default class BISListForm extends Vue { // Get gear from store get gear(): Gear[] { - return this.$store.state.gear.filter((item: Gear) => item.item_level >= this.minIl && item.item_level <= this.maxIl) + return this.$store.state.gear } // Get an array of item level choices based on the total min and max values diff --git a/frontend/src/components/gear_dropdown.vue b/frontend/src/components/gear_dropdown.vue index d64e1da8..d5ae2f80 100644 --- a/frontend/src/components/gear_dropdown.vue +++ b/frontend/src/components/gear_dropdown.vue @@ -9,7 +9,7 @@
@@ -31,6 +31,12 @@ export default class GearDropdown extends Vue { @Prop() error!: string[] | undefined + @Prop() + maxIl!: number + + @Prop() + minIl!: number + @Prop() name!: string @@ -41,6 +47,10 @@ export default class GearDropdown extends Vue { return this.$refs.dropdown as HTMLSelectElement } + get gear(): Gear[] { + return this.choices.filter((item: Gear) => item.id === this.value || (item.item_level <= this.maxIl && item.item_level >= this.minIl)) + } + handleInput(): void { this.$emit('input', this.dropdown.value) } diff --git a/frontend/src/components/modals/changelog.vue b/frontend/src/components/modals/changelog.vue index 01cd6b8c..e1834212 100644 --- a/frontend/src/components/modals/changelog.vue +++ b/frontend/src/components/modals/changelog.vue @@ -22,6 +22,7 @@

Added wiki and github links to the footer.

Footer now also displays the current version.

Footer links now use tooltips instead of titles.

+

BIS List form filters no longer exclude currently chosen items if their item levels are outside the range of the chosen filter values.