Skip to content

Commit

Permalink
Show environment in monster card
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakeyzer committed Feb 18, 2024
1 parent 2ed1c7a commit 430ef96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/compendium/Monster.vue
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,10 @@
</template>
</div>
</div>

<div v-if="monster.environment?.length" class="mt-3">
<strong>Environment:</strong> {{ monster.environment.join(", ").capitalizeEach() }}
</div>
<q-resize-observer @resize="setSize" />
</div>
<hk-loader v-else name="monster" />
Expand Down

0 comments on commit 430ef96

Please sign in to comment.