Skip to content

Commit cfabcc6

Browse files
committed
from review
1 parent 8d207f5 commit cfabcc6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/panels/calendar/dialog-calendar-event-editor.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class DialogCalendarEventEditor extends LitElement {
105105
this._description = entry.description;
106106
if (entry.location) {
107107
this._hasLocation = true;
108-
this._location = entry.location || "";
108+
this._location = entry.location;
109109
}
110110
this._rrule = entry.rrule;
111111
if (this._allDay) {
@@ -345,8 +345,8 @@ class DialogCalendarEventEditor extends LitElement {
345345
this._description = ev.target.value;
346346
}
347347

348-
private _handleLocationChanged(ev) {
349-
this._location = ev.target.value;
348+
private _handleLocationChanged(ev: Event) {
349+
this._location = (ev.target as HTMLInputElement).value;
350350
}
351351

352352
private _handleRRuleChanged(ev) {

0 commit comments

Comments
 (0)