Skip to content

Commit

Permalink
Update dialog-todo-item-editor.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten committed Jan 3, 2024
1 parent a78ee3b commit 76b277b
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/panels/todo/dialog-todo-item-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,11 @@ class DialogTodoItemEditor extends LitElement {
await updateItem(this.hass!, this._params!.entity, {
...entry,
summary: this._summary,
description:
this._description ||
(this._todoListSupportsFeature(
TodoListEntityFeature.SET_DESCRIPTION_ON_ITEM
)
? null
: undefined),
description: this._todoListSupportsFeature(
TodoListEntityFeature.SET_DESCRIPTION_ON_ITEM
)
? this._description
: undefined,
due: this._due
? this._hasTime
? this._due.toISOString()
Expand Down

0 comments on commit 76b277b

Please sign in to comment.