mirror of
https://github.com/bartvdbraak/SlayerWeightCalculator.git
synced 2025-04-27 09:41:19 +00:00
minor changes
This commit is contained in:
parent
96ad638ac8
commit
b38c41a7cc
1 changed files with 5 additions and 1 deletions
|
@ -73,7 +73,7 @@ export default {
|
|||
defence_level: 99,
|
||||
},
|
||||
masterFilter: {
|
||||
id: id => id === this.currentMaster.assignments[0],
|
||||
id: id => id === 0,
|
||||
},
|
||||
accountFilters: {
|
||||
combat_req: combat_req => combat_req < this.config.combat_level,
|
||||
|
@ -85,12 +85,16 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
reload() {
|
||||
//set current Slayer Master
|
||||
this.currentMaster = this.mastersData.masters[this.$route.params.id];
|
||||
|
||||
//filter the list of Monsters
|
||||
this.filterData();
|
||||
this.generateTaskWeights();
|
||||
},
|
||||
filterData() {
|
||||
//filter based on current Slayer Master
|
||||
|
||||
this.filtered_items = this.filterArray(this.monstersData, this.masterFilter);
|
||||
|
||||
//filter based on Account Settings
|
||||
|
|
Loading…
Reference in a new issue