src/client/graphics/layers/EventsDisplay.ts

This commit is contained in:
Scott Anderson
2025-05-14 22:45:13 -04:00
parent aa6b85e7a9
commit 5a2765db43
+2 -1
View File
@@ -676,7 +676,8 @@ export class EventsDisplay extends LitElement implements Layer {
: event.unitView
? html`<button
@click=${() => {
this.emitGoToUnitEvent(event.unitView);
event.unitView &&
this.emitGoToUnitEvent(event.unitView);
}}
>
${this.getEventDescription(event)}