mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Ensure calender event description can be edited (#14979)
This commit is contained in:
parent
18a69d633f
commit
b36eba0916
@ -51,7 +51,7 @@ class DialogCalendarEventEditor extends LitElement {
|
|||||||
|
|
||||||
@state() private _summary = "";
|
@state() private _summary = "";
|
||||||
|
|
||||||
@state() private _description = "";
|
@state() private _description? = "";
|
||||||
|
|
||||||
@state() private _rrule?: string;
|
@state() private _rrule?: string;
|
||||||
|
|
||||||
@ -87,6 +87,7 @@ class DialogCalendarEventEditor extends LitElement {
|
|||||||
const entry = params.entry!;
|
const entry = params.entry!;
|
||||||
this._allDay = isDate(entry.dtstart);
|
this._allDay = isDate(entry.dtstart);
|
||||||
this._summary = entry.summary;
|
this._summary = entry.summary;
|
||||||
|
this._description = entry.description;
|
||||||
this._rrule = entry.rrule;
|
this._rrule = entry.rrule;
|
||||||
if (this._allDay) {
|
if (this._allDay) {
|
||||||
this._dtstart = new Date(entry.dtstart + "T00:00:00");
|
this._dtstart = new Date(entry.dtstart + "T00:00:00");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user