Skip to content

Commit

Permalink
v1.3.7 Bug Correction
Browse files Browse the repository at this point in the history
  • Loading branch information
adizanni committed Mar 11, 2022
1 parent dfb06fe commit a73a96a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
11 changes: 7 additions & 4 deletions dist/floor3d-card.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "floor3d-card",
"version": "1.3.6",
"version": "1.3.7",
"description": "Lovelace floor3d-card",
"keywords": [
"home-assistant",
Expand Down
2 changes: 1 addition & 1 deletion src/const.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const CARD_VERSION = '1.3.6';
export const CARD_VERSION = '1.3.7';
9 changes: 6 additions & 3 deletions src/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@ export class Floor3dCardEditor extends LitElement implements LovelaceCardEditor
@closed=${(ev) => ev.stopPropagation()}
fixedMenuPosition
naturalMenuWidth
required
id="entity">
<mwc-list-item></mwc-list-item>
${this._entity_ids.map((entity) => {
return html` <mwc-list-item .value=${entity}>${entity}</mwc-list-item> `;
})}
Expand Down Expand Up @@ -1148,6 +1148,8 @@ export class Floor3dCardEditor extends LitElement implements LovelaceCardEditor
.configObject=${config}
.configAttribute=${'type3d'}
.ignoreNull=${false}
fixedMenuPosition
naturalMenuWidth
@closed=${(ev) => ev.stopPropagation()}
>
<mwc-list-item></mwc-list-item>
Expand All @@ -1171,6 +1173,7 @@ export class Floor3dCardEditor extends LitElement implements LovelaceCardEditor
.configAttribute=${'object_id'}
.configObject=${config}
@input=${this._valueChanged}
required
></floor3d-textfield>
`
: html`
Expand All @@ -1181,9 +1184,9 @@ export class Floor3dCardEditor extends LitElement implements LovelaceCardEditor
.configAttribute=${'object_id'}
.configObject=${config}
.ignoreNull=${false}
required
@closed=${(ev) => ev.stopPropagation()}
> <mwc-list-item></mwc-list-item>
${this._objects.map((object_id) => {
> ${this._objects.map((object_id) => {
return html` <mwc-list-item value="${object_id}">${object_id}</mwc-list-item> `;
})}
${this._configObjectArray.map((object_group) => {
Expand Down

0 comments on commit a73a96a

Please sign in to comment.