Skip to content

Commit

Permalink
Merge branch 'hotfix/2.20.5' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakeyzer committed Dec 15, 2023
2 parents a1925e8 + 5640034 commit a3111ec
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.20.4",
"version": "2.20.5",
"name": "harmless_key",
"description": "A Dungeons and Dragons Combat Tracker",
"productName": "Harmless Key",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="drawer__content" :class="drawer.classes">
<component
v-if="component"
v-bind="drawer.data"
v-bind="!Array.isArray(drawer.data) ? drawer.data : null"
:is="component"
:data="drawer.data"
:type="drawer.type"
Expand Down
2 changes: 1 addition & 1 deletion src/components/drawers/encounter/EditEntity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export default {
computed: {
...mapGetters(["entities", "targeted", "userSettings"]),
edit_targets() {
if (this.data !== undefined && this.data.length > 0) {
if (this.data?.length > 0) {
return this.data;
}
return this.targeted;
Expand Down

0 comments on commit a3111ec

Please sign in to comment.