mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-26 07:04:37 +00:00
src/client/graphics/layers/EventsDisplay.ts
This commit is contained in:
@@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user