Skip to content

Commit

Permalink
Check to make sure group.DropTableElement is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
savage13 committed Aug 18, 2024
1 parent 3524983 commit 367bbb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AppMapDetailsObj.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<hr>
<h4 class="subsection-heading">Drop table: {{this.dropTables.DropTableName || 'Default'}}</h4>
<div v-for="(group, igroup) in this.dropTables.items" :key="igroup">
<div v-if="group.DropTableElement.length" class="droptable_content">
<div v-if="group.DropTableElement && group.DropTableElement.length" class="droptable_content">
<div class="droptable_group">{{getDropTableGroupCount(group)}}</div>
<table>
<tr v-for="(item, kitem) in [...group.DropTableElement].sort((a,b) => b.DropProbability - a.DropProbability)" :key="kitem" class="droptable_item">
Expand Down

0 comments on commit 367bbb4

Please sign in to comment.